- box.Add(wxButton(win, 1010, "one"), 0, wxGROW)
- box.Add(wxButton(win, 1010, "two"), 0, wxGROW)
- box.Add(wxButton(win, 1010, "three"), 0, wxGROW)
- box.Add(60, 20, 0, wxGROW)
- box.Add(wxButton(win, 1010, "five"), 1, wxGROW)
+ box.Add(wxButton(win, 1010, "one"), 0, wxEXPAND)
+ box.Add(wxButton(win, 1010, "two"), 0, wxEXPAND)
+ box.Add(wxButton(win, 1010, "three"), 0, wxEXPAND)
+ box.Add(60, 20, 0, wxEXPAND)
+ box.Add(wxButton(win, 1010, "five"), 1, wxEXPAND)
+
+ return box
+
+#----------------------------------------------------------------------
+
+def makeSimpleBox8(win):
+ box = wxBoxSizer(wxVERTICAL)
+ box.Add(wxButton(win, 1010, "one"), 0, wxEXPAND)
+ box.Add(0,0, 1)
+ box.Add(wxButton(win, 1010, "two"), 0, wxCENTER)
+ box.Add(0,0, 1)
+ box.Add(wxButton(win, 1010, "three"), 0, wxEXPAND)
+ box.Add(wxButton(win, 1010, "four"), 0, wxEXPAND)
+# box.Add(wxButton(win, 1010, "five"), 1, wxEXPAND)