Problems using wxList

Umm, you probably just want to use Python's lists.

I can't recall needing wxList for anything...

jw

···

-----Original Message-----
From: Thomas Aanensen [mailto:thoaan@stud.cs.uit.no]
Sent: Thursday, August 28, 2003 10:47 AM
To: wxpython-users@lists.wxwindows.org
Subject: [wxPython-users] Problems using wxList

from wxPython.wx import *
list = wxList()

causes this error:
NameError: global name 'wxList' is not defined

wxList has an empty constructor. Do I need to import
something in addition
to get access to this class?

Thomas

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwindows.org
For additional commands, e-mail:
wxPython-users-help@lists.wxwindows.org

Wyant, Jaime wrote:

Umm, you probably just want to use Python's lists.

I can't recall needing wxList for anything...

Correct. Just like wxString wxPython converts wxList to and from Python types as needed.

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!