in an application I programmed with wxPython (v 2.3.3.1) under Win32 I used wxGetResource to retrieve some preference values from an ini-file.
In the later versions of wxPython the function wxGetResource seems to be missing. I found wxGetResource in the misc.py-file of version 2.3.3.1 but not of newer versions of wxPython.
I wonder whether I can find this function now somewhere else (other package or so) or whether wxGetResource was dropped.
It also seems that wxWriteResource is not defined (even in v 2.3.3.1) .
in an application I programmed with wxPython (v 2.3.3.1) under Win32 I
used wxGetResource to retrieve some preference values from an ini-file.
In the later versions of wxPython the function wxGetResource seems to be
missing. I found wxGetResource in the misc.py-file of version 2.3.3.1
but not of newer versions of wxPython.
I wonder whether I can find this function now somewhere else (other
package or so) or whether wxGetResource was dropped.
It also seems that wxWriteResource is not defined (even in v 2.3.3.1) .
Hi, I believe the functionality that you want is incorporated in the
wxConfig and derived classes now.
-Rick King
Southfield MI
in an application I programmed with wxPython (v 2.3.3.1) under Win32 I used wxGetResource to retrieve some preference values from an ini-file.
In the later versions of wxPython the function wxGetResource seems to be missing. I found wxGetResource in the misc.py-file of version 2.3.3.1 but not of newer versions of wxPython.
I wonder whether I can find this function now somewhere else (other package or so) or whether wxGetResource was dropped.
It was dropped because the functionality it was based on is now deprecated in the C++ lib. You can use wxFileConfig for ini-like files.
ยทยทยท
--
Robin Dunn
Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!