[GRASS-SVN] r52993 - grass/trunk/gui/wxpython/gui_core

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Aug 30 08:33:38 PDT 2012


Author: annakrat
Date: 2012-08-30 08:33:38 -0700 (Thu, 30 Aug 2012)
New Revision: 52993

Modified:
   grass/trunk/gui/wxpython/gui_core/forms.py
Log:
wxGUI/forms: hopefully fixed dialog styles on Windows

Modified: grass/trunk/gui/wxpython/gui_core/forms.py
===================================================================
--- grass/trunk/gui/wxpython/gui_core/forms.py	2012-08-30 10:20:37 UTC (rev 52992)
+++ grass/trunk/gui/wxpython/gui_core/forms.py	2012-08-30 15:33:38 UTC (rev 52993)
@@ -1812,6 +1812,12 @@
 
         self.Layout()
 
+        # skip is needed for wx.Notebook on Windows
+        event.Skip()
+        # this is needed for dialogs launched from layer manager
+        # event is somehow propagated?
+        event.StopPropagation()
+
     def OnColorChange(self, event):
         myId = event.GetId()
         for p in self.task.params:



More information about the grass-commit mailing list