+# 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, ID):
+ wxPanel.__init__(self, parent, ID)
+ self.win = TestMaskWindow(self)
+ EVT_SIZE(self, self.OnSize)
+
+ def OnSize(self, evt):
+ self.win.SetSize(evt.GetSize())