]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/_scrolbar.i
Use SetMinSize instead of SetSizeHints
[wxWidgets.git] / wxPython / src / _scrolbar.i
index 2cdd1836399b29a9b6bb3aeec01fbf220bf7502c..cb87fb1013a72c048ed5dd1822d1d64b3a14e90c 100644 (file)
@@ -20,6 +20,8 @@ MAKE_CONST_WXSTRING(ScrollBarNameStr);
 //---------------------------------------------------------------------------
 %newgroup
 
+MustHaveApp(wxScrollBar);
+
 class wxScrollBar : public wxControl {
 public:
     %pythonAppend wxScrollBar         "self._setOORInfo(self)"
@@ -51,7 +53,7 @@ public:
     virtual void SetThumbPosition(int viewStart);
     virtual void SetScrollbar(int position, int thumbSize,
                               int range, int pageSize,
-                              bool refresh = True);
+                              bool refresh = true);
 
     static wxVisualAttributes
     GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL);