X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f6bcfd974ef26faf6f91a62cac09827e09463fd1..b9ac87bc5cbe46227195e32c44e25831f8206e3c:/wxPython/demo/wxLayoutConstraints.py diff --git a/wxPython/demo/wxLayoutConstraints.py b/wxPython/demo/wxLayoutConstraints.py index 8e63a12af2..4ffa033924 100644 --- a/wxPython/demo/wxLayoutConstraints.py +++ b/wxPython/demo/wxLayoutConstraints.py @@ -6,7 +6,7 @@ from wxPython.wx import * class TestLayoutConstraints(wxPanel): def __init__(self, parent): wxPanel.__init__(self, parent, -1) - self.SetAutoLayout(true) + self.SetAutoLayout(True) EVT_BUTTON(self, 100, self.OnButton) self.SetBackgroundColour(wxNamedColour("MEDIUM ORCHID"))