[GRASS-SVN] r37438 - grass/trunk/gui/wxpython/gui_modules
    svn_grass at osgeo.org 
    svn_grass at osgeo.org
       
    Sun May 24 14:01:38 EDT 2009
    
    
  
Author: martinl
Date: 2009-05-24 14:01:38 -0400 (Sun, 24 May 2009)
New Revision: 37438
Modified:
   grass/trunk/gui/wxpython/gui_modules/prompt.py
Log:
fix r37437
Modified: grass/trunk/gui/wxpython/gui_modules/prompt.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/prompt.py	2009-05-24 17:56:38 UTC (rev 37437)
+++ grass/trunk/gui/wxpython/gui_modules/prompt.py	2009-05-24 18:01:38 UTC (rev 37438)
@@ -158,7 +158,11 @@
         self.itemDataMap = dict()
         
         # widgets
-        self.dropdown = wx.PopupWindow(self)
+        try:
+            self.dropdown = wx.PopupWindow(self)
+        except NotImplementedError:
+            self.Destroy()
+            raise NotImplementedError
         
         # create the list and bind the events
         self.dropdownlistbox = PromptListCtrl(parent = self.dropdown,
    
    
More information about the grass-commit
mailing list