projects
/
wxWidgets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3bcdbe5
)
a little cleanup and refresh
author
Robin Dunn
<robin@alldunn.com>
Mon, 3 May 2004 21:31:16 +0000
(21:31 +0000)
committer
Robin Dunn
<robin@alldunn.com>
Mon, 3 May 2004 21:31:16 +0000
(21:31 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27080
c3d73ce0
-8a6f-49c7-b76d-
6d57e0e08775
wxPython/misc/widgetLayoutTest.py
patch
|
blob
|
blame
|
history
diff --git
a/wxPython/misc/widgetLayoutTest.py
b/wxPython/misc/widgetLayoutTest.py
index 02a8a33695b7237c9114ab76606dd01d65963418..32a9a4ce6da88fef69965a33273ad33ca35d22bd 100644
(file)
--- a/
wxPython/misc/widgetLayoutTest.py
+++ b/
wxPython/misc/widgetLayoutTest.py
@@
-273,8
+273,7
@@
class LayoutTestFrame(wx.Frame):
# make the destroy button be default now
self.destroyBtn.SetDefault()
-
- if True:
+ if False:
print 'w size', w.GetSize()
print 'w minsize', w.GetMinSize()
print 'w bestsize', w.GetBestSize()
@@
-293,7
+292,8
@@
class LayoutTestFrame(wx.Frame):
self.testWidget.Destroy()
self.testWidget = None
self.testPanel.SetSizer(None, True)
-
+ self.testPanel.Refresh()
+
# ensure the panel shrinks again
self.testPanel.SetSizeHints((20,20))
self.bottomSizer.Layout()