Author: reinhard
Date: 2006-10-18 09:42:29 -0500 (Wed, 18 Oct 2006)
New Revision: 8850

Modified:
   trunk/gnue-forms/src/uidrivers/wx26/widgets/form.py
Log:
Workaround not necessary any more - probably the problem was fixed with the
focus handling cleanup.


Modified: trunk/gnue-forms/src/uidrivers/wx26/widgets/form.py
===================================================================
--- trunk/gnue-forms/src/uidrivers/wx26/widgets/form.py 2006-10-18 14:37:24 UTC 
(rev 8849)
+++ trunk/gnue-forms/src/uidrivers/wx26/widgets/form.py 2006-10-18 14:42:29 UTC 
(rev 8850)
@@ -236,15 +236,6 @@
         self._uiDriver.hide_splash()
         self.main_window.Raise()
         self.sizing_enabled = True
-
-        # FIXME: this is a really dirty workaround.  Although the focus is set
-        # properly in the GFForm, it is misplaced in the wx.Dialog after
-        # calling ShowModal().  If we would use Show() here everything's fine.
-        # I was not able to create a standalone wx-app reproducing the
-        # situation.  The bug does not appear on wxMSW or wxMac.
-        if 'wxGTK' in wx.PlatformInfo:
-            wx.CallAfter(self._request, 'FOCUS', data=self._form._currentEntry)
-
         self.main_window.ShowModal()
 
 



_______________________________________________
commit-gnue mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/commit-gnue

Reply via email to