Użytkownik Jacek Kałucki napisał:
> Native wx.SearchCtrl events works too:
>
>       def _initEvents(self):
>           self.Bind(wx.EVT_SEARCHCTRL_SEARCH_BTN,
> self.__onWxSearchBtnPressed)
>           self.Bind(wx.EVT_SEARCHCTRL_CANCEL_BTN,
> self.__onWxCancelBtnPressed)
>    

Finally, I found the cause of issue.
I would ask you to find a final solution.
Problematic event is dDataControlMixinBase.__onLostFocus().
It is fired before __onWxDestroy() event.
First code that tries to set property value, actually it is the
     self._inFlush = True
code, causes an exception.
As temporary solution, I have overwritten entire __onLostFocus() event code
loosing it's data control behaviour, but it's not necessary for me,
since I don't use DataSource property with dSearchBox class at all.

-- 
Regards
Jacek Kałucki


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: http://leafe.com/archives/byMID/[email protected]

Reply via email to