[wxPython-users] Re: Re: wPython in Action: example chapter 1

Werner F. Bruhin werner.bruhin at free.fr
Fri Apr 20 10:50:55 PDT 2007


Hi Bjoern,

Bjoern Schliessmann wrote:
> Werner F. Bruhin wrote:
>
>   
>> I never did C++, but whenever I had to look at the C++ doc for
>> wxWidgets (when the wxPython doc was not as far as it is now) it
>> gave me lots of headache. ;-)
>>     
>
> Strange, for there are special wxPython remarks in it.
>   
The problem I had is the C++ syntax, e.g.:

wxFileDialog(wxWindow* parent, const wxString& message = "Choose a 
file", const wxString& defaultDir = "", const wxString& defaultFile = 
"", const wxString& wildcard = "*.*", long style = 0, const wxPoint& pos 
= wxDefaultPosition)

And here is the wxPython API doc:
FileDialog
__init__(self, parent, message, defaultDir, defaultFile, wildcard, 
style, pos)
Constructor.

Werner




More information about the wxpython-users mailing list