]> git.saurik.com Git - wxWidgets.git/blobdiff - utils/wxPython/demo/wxSpinButton.py
forgot to add the image with binary flags
[wxWidgets.git] / utils / wxPython / demo / wxSpinButton.py
index 4974e1cef064c62673dde91834567f0ea5f532ea..67308b41d0d3c75d95c5baad906d0074ad57f33c 100644 (file)
@@ -17,7 +17,8 @@ class TestPanel(wxPanel):
 
         self.text = wxTextCtrl(self, -1, "1", wxPoint(30, 50), wxSize(60, -1))
         h = self.text.GetSize().height
-        self.spin = wxSpinButton(self, 20, wxPoint(92, 50), wxSize(h*2, h))
+        self.spin = wxSpinButton(self, 20, wxPoint(92, 50), wxSize(h, h),
+                                 wxSP_VERTICAL)
         self.spin.SetRange(1, 100)
         self.spin.SetValue(1)