+# On wxGTK there needs to be a panel under wxScrolledWindows if they are
+# going to be in a wxNotebook...
+class TestPanel(wxPanel):
+ def __init__(self, parent):
+ wxPanel.__init__(self, parent, -1)
+ self.win = TestWindow(self)
+ EVT_SIZE(self, self.OnSize)
+
+ def OnSize(self, evt):
+ self.win.SetSize(evt.GetSize())
+
+