]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/_scrolbar.i
Some compile fixes.
[wxWidgets.git] / wxPython / src / _scrolbar.i
index eef02eb2f5280719335acb529a4f58e2280a3c70..a02af38c635d31000be6187295256cc88d4b12fe 100644 (file)
@@ -51,12 +51,21 @@ public:
     bool IsVertical() const { return (m_windowStyle & wxVERTICAL) != 0; }
 
     virtual void SetThumbPosition(int viewStart);
-    virtual void SetScrollbar(int position, int thumbSize,
-                              int range, int pageSize,
-                              bool refresh = true);
+    
+    DocDeclStr(
+        virtual void , SetScrollbar(int position, int thumbSize,
+                                    int range, int pageSize,
+                                    bool refresh = true),
+        "", "");
+    
 
     static wxVisualAttributes
     GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL);
+
+    %property(PageSize, GetPageSize, doc="See `GetPageSize`");
+    %property(Range, GetRange, doc="See `GetRange`");
+    %property(ThumbPosition, GetThumbPosition, SetThumbPosition, doc="See `GetThumbPosition` and `SetThumbPosition`");
+    %property(ThumbSize, GetThumbSize, doc="See `GetThumbSize`");
 };
 
 //---------------------------------------------------------------------------