mailr16904 - /trunk/gui/about.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by edward on June 13, 2012 - 21:45:
Author: bugman
Date: Wed Jun 13 21:45:56 2012
New Revision: 16904

URL: http://svn.gna.org/viewcvs/relax?rev=16904&view=rev
Log:
Bug fix for the grey about windows on MS Windows!

All the about windows were grey.  The temporary wxPython 2.9.3.1 fix was 
breaking the Windows GUI!


Modified:
    trunk/gui/about.py

Modified: trunk/gui/about.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/gui/about.py?rev=16904&r1=16903&r2=16904&view=diff
==============================================================================
--- trunk/gui/about.py (original)
+++ trunk/gui/about.py Wed Jun 13 21:45:56 2012
@@ -358,13 +358,13 @@
         @type event:    wx event
         """
 
-        ## Create the device context.
-        #wx.BufferedPaintDC(self.window, self.buffer, wx.BUFFER_VIRTUAL_AREA)
-
         # Temporary fix for wxPython 2.9.3.1 suggested by Robin Dunn at 
http://groups.google.com/group/wxpython-users/browse_thread/thread/7dff3f5d7ca24985.
         dc = wx.PaintDC(self.window)
         self.window.PrepareDC(dc)
         dc.DrawBitmap(self.buffer, 0, 0)
+
+        # Create the device context.
+        wx.BufferedPaintDC(self.window, self.buffer, wx.BUFFER_VIRTUAL_AREA)
 
 
     def offset(self, val=0):




Related Messages


Powered by MHonArc, Updated Wed Jun 13 22:00:02 2012