Re: wxGlade 0.7.1 RC1

Carsten Grohmann <[email protected]>
Newsgroups gmane.comp.python.wxglade
Message-ID <[email protected]>
Udi Fuchs schrieb am 03.08.2015:
> >   - Empty choices will be filled with a placeholder '<set by
> > wxGlade>'
> >
> 
> Why was this feature added? It breaks my existing code that assumes
> empty choices and generates the relevant choices in the code.

... to compile the C++ code. The old statement 

>  const wxString choice_empty_choices[] = NULL;
>  choice_empty = new wxChoice(notebook_1_wxChoice, wxID_ANY, wxDefaultPosition, wxDefaultSize, 1, choice_empty_choices);

doesn't compile.

Do you have any ideas for a valid C++ statement?

Regards,
Carsten


------------------------------------------------------------------------------
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.