I'm new to wxPython, following some example code in the wiki, and
have a couple of questions.
I'm fooling around with events & the menu bar. Following the example
code, I've created a method that builds a wxMessageDialog object.
Calling that object spits the following error to my shell:
Traceback (most recent call last):
File "./foo.py", line 40, in OnAbout
dlg = wxMessageDialog(self, "Fubar", wxOK)
File "//Library/Python/2.3/wx-2.5.3-mac-ansi/wx/_windows.py", line 2831, in __init__
newobj = _windows_.new_MessageDialog(*args, **kwargs)
TypeError: String or Unicode type required
I'm running this on a Mac, osx v10.3.8, with yesterday's download of
wxPython (v2.5) -- ansi version.
Any suggestions?
Also, I've tried to find the source of the problem by looking through
the online docs. But I can't find doco on wxMessageDialog in the
http://www.wxpython.org/onlinedocs.php --> Classes by category -->
wxDialog page. What's/where's the best place to look for API doco?
Thanks in advance!
Scott