]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/_scrolbar.i
Respect the REUSEADDR flag to allow rebinding; bind to local port prior to connecting...
[wxWidgets.git] / wxPython / src / _scrolbar.i
index a4c01b1c924e53c6bf3d3017c6314f7ee92c9ae8..2bcc4eddb53ea5286f68197f7758207660ef30f1 100644 (file)
@@ -33,7 +33,7 @@ public:
                 long style = wxSB_HORIZONTAL,
                 const wxValidator& validator = wxDefaultValidator,
                 const wxString& name = wxPyScrollBarNameStr);
-    %name(PreScrollBar)wxScrollBar();
+    %RenameCtor(PreScrollBar, wxScrollBar());
 
     bool Create(wxWindow* parent, wxWindowID id = -1,
                 const wxPoint& pos = wxDefaultPosition,
@@ -51,9 +51,13 @@ 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);