]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/Sizers.py
Shell Script file to copy setup.h for ProjectBuilder
[wxWidgets.git] / wxPython / demo / Sizers.py
index ab95d06fd79f33f4d633f0ab679d03ddf9409d5a..0fb4657edca3c77ed44164d4d968fd85a1fe1357 100644 (file)
@@ -141,11 +141,11 @@ def makeBoxInBox(win):
     box.Add(wxButton(win, 1010, "one"), 0, wxEXPAND)
 
     box2 = wxBoxSizer(wxHORIZONTAL)
-    box2.AddMany([ (wxButton(win, 1010, "two"), 0, wxEXPAND),
-                   (wxButton(win, 1010, "three"), 0, wxEXPAND),
-                   (wxButton(win, 1010, "four"), 0, wxEXPAND),
-                   (wxButton(win, 1010, "five"), 0, wxEXPAND),
-                   ])
+    box2.Add(wxButton(win, 1010, "two"), 0, wxEXPAND)
+    btn3 = wxButton(win, 1010, "three")
+    box2.Add(btn3, 0, wxEXPAND)
+    box2.Add(wxButton(win, 1010, "four"), 0, wxEXPAND)
+    box2.Add(wxButton(win, 1010, "five"), 0, wxEXPAND)
 
     box3 = wxBoxSizer(wxVERTICAL)
     box3.AddMany([ (wxButton(win, 1010, "six"),   0, wxEXPAND),
@@ -159,6 +159,8 @@ def makeBoxInBox(win):
 
     box.Add(wxButton(win, 1010, "ten"), 0, wxEXPAND)
 
+    ##box.Hide(btn3)
+
     return box
 
 #----------------------------------------------------------------------