projects
/
hooke.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
90442ce
)
Fix toolbar -> self._c['toolbar'] in gui.panel.plot on MS Windows.
author
W. Trevor King
<wking@drexel.edu>
Sat, 14 Aug 2010 08:08:04 +0000
(
04:08
-0400)
committer
W. Trevor King
<wking@drexel.edu>
Sat, 14 Aug 2010 08:08:04 +0000
(
04:08
-0400)
hooke/ui/gui/panel/plot.py
patch
|
blob
|
history
diff --git
a/hooke/ui/gui/panel/plot.py
b/hooke/ui/gui/panel/plot.py
index 602ee650024f5c3c6b5820c941e6a75dc385e4d9..f9180803fe0ddb002c83e7ef2ee7f82a6a67860a 100644
(file)
--- a/
hooke/ui/gui/panel/plot.py
+++ b/
hooke/ui/gui/panel/plot.py
@@
-156,7
+156,7
@@
class PlotPanel (Panel, wx.Panel):
elif wx.Platform == '__WXMSW__':
# On Windows platform, default window size is incorrect, so set
# toolbar width to figure width.
- tw, th =
toolbar
.GetSizeTuple()
+ tw, th =
self._c['toolbar']
.GetSizeTuple()
fw, fh = self._c['canvas'].GetSizeTuple()
# By adding toolbar in sizer, we are able to put it at the bottom
# of the frame - so appearance is closer to GTK version.