Is there a reason that these lines are in Choice.i? %ignore wxChoice::wxChoice(); %ignore wxChoice::wxChoice(wxWindow *parent, wxWindowID id, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, int n = 0, const wxString choices[] = NULL, long style = 0, const wxValidator& validator = wxDefaultValidator, const wxString& name = wxChoiceNameStr); If I comment these two lines out I can run all of the sample programs. Sean
Sean Long wrote:> Is there a reason that these lines are in Choice.i? > > %ignore wxChoice::wxChoice(); > %ignore wxChoice::wxChoice(wxWindow *parent, > wxWindowID id, > const wxPoint& pos = wxDefaultPosition, > const wxSize& size = wxDefaultSize, > int n = 0, const wxString choices[] = NULL, > long style = 0, > const wxValidator& validator = wxDefaultValidator, > const wxString& name = wxChoiceNameStr); > > If I comment these two lines out I can run all of the sample programs.In the current head, the first one is still ignored, but the second one is not. Is that good enough? Every time I uncomment out that default constructor, I have runtime errors, so I really don''t want to uncomment it unless I have to. Kevin
The first is the important one for XRC. Sean On 8/10/05, Kevin Smith <wxruby@qualitycode.com> wrote:> Sean Long wrote: > > Is there a reason that these lines are in Choice.i? > > > > %ignore wxChoice::wxChoice(); > > %ignore wxChoice::wxChoice(wxWindow *parent, > > wxWindowID id, > > const wxPoint& pos = wxDefaultPosition, > > const wxSize& size = wxDefaultSize, > > int n = 0, const wxString choices[] = NULL, > > long style = 0, > > const wxValidator& validator = wxDefaultValidator, > > const wxString& name = wxChoiceNameStr); > > > > If I comment these two lines out I can run all of the sample programs. > > In the current head, the first one is still ignored, but the second one > is not. Is that good enough? Every time I uncomment out that default > constructor, I have runtime errors, so I really don''t want to uncomment > it unless I have to. > > Kevin > _______________________________________________ > wxruby-users mailing list > wxruby-users@rubyforge.org > http://rubyforge.org/mailman/listinfo/wxruby-users >
We no longer %ignore the wxChoice default constructor. Thanks, Kevin Sean Long wrote:> The first is the important one for XRC. > > Sean > > On 8/10/05, Kevin Smith <wxruby@qualitycode.com> wrote: > >>Sean Long wrote: >> >>>Is there a reason that these lines are in Choice.i? >>> >>>%ignore wxChoice::wxChoice(); >>>%ignore wxChoice::wxChoice(wxWindow *parent, >>> wxWindowID id, >>> const wxPoint& pos = wxDefaultPosition, >>> const wxSize& size = wxDefaultSize, >>> int n = 0, const wxString choices[] = NULL, >>> long style = 0, >>> const wxValidator& validator = wxDefaultValidator, >>> const wxString& name = wxChoiceNameStr); >>> >>>If I comment these two lines out I can run all of the sample programs. >> >>In the current head, the first one is still ignored, but the second one >>is not. Is that good enough? Every time I uncomment out that default >>constructor, I have runtime errors, so I really don''t want to uncomment >>it unless I have to. >> >>Kevin >>_______________________________________________ >>wxruby-users mailing list >>wxruby-users@rubyforge.org >>http://rubyforge.org/mailman/listinfo/wxruby-users >> > > > _______________________________________________ > wxruby-users mailing list > wxruby-users@rubyforge.org > http://rubyforge.org/mailman/listinfo/wxruby-users