Some little tweaks...

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12062 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2001-10-18 19:19:38 +00:00
parent 54a816a683
commit 0e94700456
3 changed files with 10 additions and 3 deletions

View File

@@ -108,7 +108,11 @@ def runTest(frame, nb, log):
h = nb.GetClientSize().height
if w < 300: w = 300
if h < 300: h = 300
win = TestPanel(nb, wxSize(w, h), log)
win = wxPanel(nb, -1)
tp = TestPanel(win, wxSize(w, h), log)
def OnPanelSize(evt, tp=tp):
tp.SetSize(evt.GetSize())
EVT_SIZE(win, OnPanelSize)
return win
#----------------------------------------------------------------------