]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/_scrolbar.i
reSWIGged
[wxWidgets.git] / wxPython / src / _scrolbar.i
index 8155c4502eb943c98277c1b8a27d195470a0c3d6..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,10 @@ 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);
 };
 
 //---------------------------------------------------------------------------