Phoenix exception on event handler

Hi,

Getting the following exception in Phoenix, "wx.EVT_TEXT_MAXLEN" seems to be missing in Phoenix?

AttributeError: 'module' object has no attribute 'EVT_TEXT_MAXLEN'
File "c:\dev\twcbv4\twcbsrc\controllers\app_cb.py", line 1178, in <module>
   appcb = Appcb(None, standalone=True)
File "c:\dev\twcbv4\twcbsrc\controllers\app_cb.py", line 92, in __init__
   self.setupControls()
File "c:\dev\twcbv4\twcbsrc\controllers\app_cb.py", line 145, in setupControls
   self.createEditControlsNB()
File "c:\dev\twcbv4\twcbsrc\controllers\app_cb.py", line 1057, in createEditControlsNB
   paneDrinkWiI.createCtrls(self, self.view.paneDrinkW)
File "c:\dev\twcbv4\twcbsrc\controllers\pane_Drink.py", line 237, in createCtrls
   controller.createEditControlsAlt(paneNotes, eCtrls5)
File "c:\dev\twcbv4\twcbsrc\controllers\base.py", line 397, in createEditControlsAlt
   ctrl['dbItemName'], ctrl['cName'])
File "c:\dev\twcbv4\twcbsrc\libui\uiutils.py", line 247, in doCreateControl
   actrl = doCreateTextCtrl(parent, pane, ctrl, dbitem, ctrlname)
File "c:\dev\twcbv4\twcbsrc\libui\uiutils.py", line 376, in doCreateTextCtrl
   tctrl = textctrl.TextCtrlML(tpane, wx.ID_ANY)
File "c:\dev\twcbv4\twcbsrc\libui\textctrl.py", line 117, in __init__
   self.Bind(wx.EVT_TEXT_MAXLEN, self.evtTextMaxLen, id=id)

Werner

Hi,

This one EVT_TEXT_URL isn't found either.

Werner

P.S.
I am on: 2.9.5.81-r73805

···

On 13/04/2013 10:05, Werner wrote:

Hi,

Getting the following exception in Phoenix, "wx.EVT_TEXT_MAXLEN" seems to be missing in Phoenix?

AttributeError: 'module' object has no attribute 'EVT_TEXT_MAXLEN'
File "c:\dev\twcbv4\twcbsrc\controllers\app_cb.py", line 1178, in <module>
  appcb = Appcb(None, standalone=True)
File "c:\dev\twcbv4\twcbsrc\controllers\app_cb.py", line 92, in __init__
  self.setupControls()
File "c:\dev\twcbv4\twcbsrc\controllers\app_cb.py", line 145, in setupControls
  self.createEditControlsNB()
File "c:\dev\twcbv4\twcbsrc\controllers\app_cb.py", line 1057, in createEditControlsNB
  paneDrinkWiI.createCtrls(self, self.view.paneDrinkW)
File "c:\dev\twcbv4\twcbsrc\controllers\pane_Drink.py", line 237, in createCtrls
  controller.createEditControlsAlt(paneNotes, eCtrls5)
File "c:\dev\twcbv4\twcbsrc\controllers\base.py", line 397, in createEditControlsAlt
  ctrl['dbItemName'], ctrl['cName'])
File "c:\dev\twcbv4\twcbsrc\libui\uiutils.py", line 247, in doCreateControl
  actrl = doCreateTextCtrl(parent, pane, ctrl, dbitem, ctrlname)
File "c:\dev\twcbv4\twcbsrc\libui\uiutils.py", line 376, in doCreateTextCtrl
  tctrl = textctrl.TextCtrlML(tpane, wx.ID_ANY)
File "c:\dev\twcbv4\twcbsrc\libui\textctrl.py", line 117, in __init__
  self.Bind(wx.EVT_TEXT_MAXLEN, self.evtTextMaxLen, id=id)

Werner