[GRASS-SVN] r56120 - grass/branches/develbranch_6/gui/wxpython/psmap

svn_grass at osgeo.org svn_grass at osgeo.org
Sat May 4 09:51:41 PDT 2013


Author: annakrat
Date: 2013-05-04 09:51:41 -0700 (Sat, 04 May 2013)
New Revision: 56120

Modified:
   grass/branches/develbranch_6/gui/wxpython/psmap/dialogs.py
Log:
wxGUI/composer: attempt to fix #1959

Modified: grass/branches/develbranch_6/gui/wxpython/psmap/dialogs.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/psmap/dialogs.py	2013-05-04 11:21:28 UTC (rev 56119)
+++ grass/branches/develbranch_6/gui/wxpython/psmap/dialogs.py	2013-05-04 16:51:41 UTC (rev 56120)
@@ -4383,10 +4383,10 @@
         dc.SelectObject(buffer)
         dc.SetBrush(wx.WHITE_BRUSH)
         dc.Clear()
+        dc.SelectObject(wx.NullBitmap)
         mask = wx.Mask(buffer, wx.WHITE)
         buffer.SetMask(mask)
         self.imagePanel.image['preview'].SetBitmap(buffer)
-        dc.SelectObject(wx.NullBitmap)
         
     def update(self): 
         # epsfile



More information about the grass-commit mailing list