Revision: 5926
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=5926&view=rev
Author: jdh2358
Date: 2008-07-29 21:42:37 +0000 (Tue, 29 Jul 2008)
Log Message:
-----------
another attempt at portable isvisible for wx
Modified Paths:
--------------
trunk/matplotlib/lib/matplotlib/backends/backend_wx.py
Modified: trunk/matplotlib/lib/matplotlib/backends/backend_wx.py
===================================================================
--- trunk/matplotlib/lib/matplotlib/backends/backend_wx.py 2008-07-29
19:59:43 UTC (rev 5925)
+++ trunk/matplotlib/lib/matplotlib/backends/backend_wx.py 2008-07-29
21:42:37 UTC (rev 5926)
@@ -698,8 +698,9 @@
if not hasattr(self,'IsShownOnScreen'):
- self.IsShownOnScreen = self.IsVisible
+ self.IsShownOnScreen = getattr(self, 'IsVisible', lambda self:
True)
+
# Create the drawing bitmap
self.bitmap =wx.EmptyBitmap(w, h)
DEBUG_MSG("__init__() - bitmap w:%d h:%d" % (w,h), 2, self)
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Matplotlib-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins