]> git.saurik.com Git - wxWidgets.git/blobdiff - utils/wxPython/demo/wxLayoutConstraints.py
added font encoding support
[wxWidgets.git] / utils / wxPython / demo / wxLayoutConstraints.py
index 9182115d4ce2ef69c69a412651f59b20152ce7a2..d8f9ed74e3d4dc1534d905f62196925bae8dfccb 100644 (file)
@@ -6,11 +6,11 @@ from wxPython.wx import *
 class TestLayoutConstraints(wxWindow):
     def __init__(self, parent):
         wxWindow.__init__(self, parent, -1)
-        self.SetBackgroundColour(wxNamedColour("MEDIUM ORCHID"))
-
         self.SetAutoLayout(true)
         EVT_BUTTON(self, 100, self.OnButton)
 
+        self.SetBackgroundColour(wxNamedColour("MEDIUM ORCHID"))
+
         self.panelA = wxWindow(self, -1, wxDefaultPosition, wxDefaultSize,
                                wxSIMPLE_BORDER)
         self.panelA.SetBackgroundColour(wxBLUE)
@@ -86,6 +86,8 @@ class TestLayoutConstraints(wxWindow):
         self.panelD.SetConstraints(lc);
 
 
+
+
     def OnButton(self, event):
         wxBell()