No support for wxString or wxList

This forum can be used to talk about general design strategies, new ideas and questions in general related to wxWidgets. If you feel your questions doesn't fit anywhere, put it here.
Post Reply
catlover
In need of some credit
In need of some credit
Posts: 7
Joined: Fri Nov 19, 2004 7:45 pm

No support for wxString or wxList

Post by catlover » Sat Nov 20, 2004 10:51 pm

I'm trying to write a wxPython app and I seem to have no support for at least two classes that I know of: wxString and wxList.
Every time I try to use either I get "global name wx... not defined".
I don't even care if you call me stupid. Just get me out of this nightmare!

going crazy

EDIT: This belongs in the wxPython forum ... so I moved it ;-)

arkanes
Experienced Solver
Experienced Solver
Posts: 59
Joined: Sun Oct 17, 2004 12:05 am

Post by arkanes » Mon Feb 14, 2005 2:59 pm

strings and lists are native datatypes in Python. The wxPython bridge maps between the native data types and the wx equivilents.

catlover
In need of some credit
In need of some credit
Posts: 7
Joined: Fri Nov 19, 2004 7:45 pm

Post by catlover » Mon Feb 14, 2005 3:19 pm

Hi. Yes, you are correct. I have learned since posting this that not all of the wxWidgets classes are implemented in wxPython. One of the wxPython developers has told me that since some things like strings and lists, for example, are adequately supported in Python they felt no need to include support for those widget classes in wxPython.
There is an outdated list somewhere, probably on the wxPython site that lists what 'wx' classes are supported. Why these sites are not kept up to date is a question for another forum.
I appreciate your reply. Thanks.

Post Reply