Revision: 4997
          http://matplotlib.svn.sourceforge.net/matplotlib/?rev=4997&view=rev
Author:   mdboom
Date:     2008-03-10 08:05:30 -0700 (Mon, 10 Mar 2008)

Log Message:
-----------
Fix bug where Wx figures were getting shortened by the height of the status bar 
(Thanks, Gary Ruben)

Modified Paths:
--------------
    branches/v0_91_maint/lib/matplotlib/backends/backend_wx.py

Modified: branches/v0_91_maint/lib/matplotlib/backends/backend_wx.py
===================================================================
--- branches/v0_91_maint/lib/matplotlib/backends/backend_wx.py  2008-03-10 
13:44:28 UTC (rev 4996)
+++ branches/v0_91_maint/lib/matplotlib/backends/backend_wx.py  2008-03-10 
15:05:30 UTC (rev 4997)
@@ -1291,9 +1291,9 @@
         DEBUG_MSG("__init__()", 1, self)
         self.num = num
 
-        self.canvas = self.get_canvas(fig)
         statbar = StatusBarWx(self)
         self.SetStatusBar(statbar)
+        self.canvas = self.get_canvas(fig)
         self.sizer =wx.BoxSizer(wx.VERTICAL)
         self.sizer.Add(self.canvas, 1, wx.TOP | wx.LEFT | wx.EXPAND)
         # By adding toolbar in sizer, we are able to put it at the bottom


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: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Matplotlib-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins

Reply via email to