X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f0261a72469b57877b27a616ff790b983184df95..61243a510fe15e04996a986daaa53ed9fee75484:/utils/wxPython/demo/wxLayoutConstraints.py diff --git a/utils/wxPython/demo/wxLayoutConstraints.py b/utils/wxPython/demo/wxLayoutConstraints.py index d8f9ed74e3..8e63a12af2 100644 --- a/utils/wxPython/demo/wxLayoutConstraints.py +++ b/utils/wxPython/demo/wxLayoutConstraints.py @@ -3,9 +3,9 @@ from wxPython.wx import * #--------------------------------------------------------------------------- -class TestLayoutConstraints(wxWindow): +class TestLayoutConstraints(wxPanel): def __init__(self, parent): - wxWindow.__init__(self, parent, -1) + wxPanel.__init__(self, parent, -1) self.SetAutoLayout(true) EVT_BUTTON(self, 100, self.OnButton)