I'm trying to make a dynamic wxSincleChoiceDialog that reads the selections
from a file. The reason for this is to be able to add new selections and keep
them when restarting the application.
The way I'm doing it now is to have a list structure stored on file and use
cPickle to read it. The problem is that I'm unable to convert this list into a
string array. In fact I'm having problem using wxString at all.
I'm trying to make a dynamic wxSincleChoiceDialog that reads the selections from a file. The reason for this is to be able to add new selections and keep them when restarting the application.
The way I'm doing it now is to have a list structure stored on file and use cPickle to read it. The problem is that I'm unable to convert this list into a string array. In fact I'm having problem using wxString at all.
Any suggestions?
Just use a Python list of Python strings. The wrappers take care of converting it to the proper C/C++ types.
ยทยทยท
--
Robin Dunn
Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!