]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/_scrolbar.i
demo tweaks
[wxWidgets.git] / wxPython / src / _scrolbar.i
index 787eae1bc1fda213b07bc968a17efc85fd5b4487..8155c4502eb943c98277c1b8a27d195470a0c3d6 100644 (file)
 
 //---------------------------------------------------------------------------
 
-%{
-    DECLARE_DEF_STRING(ScrollBarNameStr);
-%}
+MAKE_CONST_WXSTRING(ScrollBarNameStr);
 
 //---------------------------------------------------------------------------
 %newgroup
 
 class wxScrollBar : public wxControl {
 public:
-    %addtofunc wxScrollBar         "self._setOORInfo(self)"
-    %addtofunc wxScrollBar()       ""
+    %pythonAppend wxScrollBar         "self._setOORInfo(self)"
+    %pythonAppend wxScrollBar()       ""
 
     wxScrollBar(wxWindow* parent, wxWindowID id = -1,
                 const wxPoint& pos = wxDefaultPosition,
@@ -53,7 +51,7 @@ public:
     virtual void SetThumbPosition(int viewStart);
     virtual void SetScrollbar(int position, int thumbSize,
                               int range, int pageSize,
-                              bool refresh = TRUE);
+                              bool refresh = True);
 };
 
 //---------------------------------------------------------------------------