projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Remove const bool
[wxWidgets.git]
/
wxPython
/
demo
/
Grid.py
diff --git
a/wxPython/demo/Grid.py
b/wxPython/demo/Grid.py
index d2c1af22e94210277b2d5fda8b03d3b83db5706a..2647f580f85c2f1700821bbb6843a384dfa4f345 100644
(file)
--- a/
wxPython/demo/Grid.py
+++ b/
wxPython/demo/Grid.py
@@
-31,9
+31,9
@@
class ButtonPanel(wx.Panel):
box.Add(btn, 0, wx.ALIGN_CENTER|wx.ALL, 10)
self.Bind(wx.EVT_BUTTON, self.OnButton, btn)
- self.SetAutoLayout(True)
self.SetSizer(box)
-
+ box.Fit(self)
+
def OnButton(self, evt):
modName = buttonDefs[evt.GetId()][0]