On Dec 9, 2009, at 5:06 PM, Jacek Kałucki wrote:

> 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.


        Instead of wiping out the entire method, try wrapping the call with  
the standard check for wx objects:

if not self:
        return
self._inFlush = True

        Let me know if that solves your issue.


-- Ed Leafe




_______________________________________________
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