]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/_scrolbar.i
Force integer values for positions and sizes
[wxWidgets.git] / wxPython / src / _scrolbar.i
index 787eae1bc1fda213b07bc968a17efc85fd5b4487..5a32c1503f9827c58a9fce50707a40fb105a363a 100644 (file)
@@ -15,9 +15,7 @@
 
 //---------------------------------------------------------------------------
 
-%{
-    DECLARE_DEF_STRING(ScrollBarNameStr);
-%}
+MAKE_CONST_WXSTRING(ScrollBarNameStr);
 
 //---------------------------------------------------------------------------
 %newgroup
@@ -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);
 };
 
 //---------------------------------------------------------------------------