dabo Commit
Revision 4196
Date: 2008-06-26 08:34:11 -0700 (Thu, 26 Jun 2008)
Author: Ed
Trac: http://svn.dabodev.com/trac/dabo/changeset/4196

Changed:
U   trunk/dabo/ui/uiwx/__init__.py

Log:
Fixed another exception handler.


Diff:
Modified: trunk/dabo/ui/uiwx/__init__.py
===================================================================
--- trunk/dabo/ui/uiwx/__init__.py      2008-06-26 15:34:01 UTC (rev 4195)
+++ trunk/dabo/ui/uiwx/__init__.py      2008-06-26 15:34:11 UTC (rev 4196)
@@ -349,7 +349,7 @@
        if isinstance(wxEvt, (wx.SplitterEvent,) ):
                try:
                        ed["mousePosition"] = (wxEvt.GetX(), wxEvt.GetY())
-               except AttributeError:
+               except wx.PyAssertionError:
                        ed["mousePosition"] = wx.GetMousePosition()
 
        if isinstance(wxEvt, (wx.KeyEvent, wx.MouseEvent) ):




_______________________________________________
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