not working with wxPython 2.6 (Python24/WinXP

Help
2005-05-07
2013-04-26
  • DrPython exits silently when run from Desktop link.
    I got following error when run C:\Python24\Lib\site-packages\drpython\drpython.py.

    C:\Documents and Settings\nick>C:\Python24\Lib\site-packages\drpython\drpython.py
    Traceback (most recent call last):
      File "C:\Python24\Lib\site-packages\drpython\drpython.py", line 3502, in ?
        app = DrApp(0)
      File "C:\Python23\Lib\site-packages\wxPython\wx.py", line 1957, in __init__
        _wxStart(self.OnInit)
      File "C:\Python24\Lib\site-packages\drpython\drpython.py", line 3486, in OnInit
        self.frame = DrFrame(None, 101, "DrPython - Untitled 1")
      File "C:\Python24\Lib\site-packages\drpython\drpython.py", line 90, in __init__
        self.InitializeConstants()
      File "C:\Python24\Lib\site-packages\drpython\drpython.py", line 1183, in InitializeConstants
        self.STCCOMMANDLIST = drShortcuts.GetSTCCommandList()
      File "C:\Python24\Lib\site-packages\drpython\drShortcuts.py", line 219, in GetSTCCommandList
        return [wx.stc.STC_CMD_BACKTAB, wx.stc.STC_CMD_CANCEL,
    AttributeError: 'module' object has no attribute 'STC_CMD_CHARLEFTRECTEXTEND'
    15:33:08: Debug: e:\Projects\wx2.4\src\msw\app.cpp(439): 'UnregisterClass(canvas)' failed with error 0x00000584 (class has still opened windows.)

    Best regards.