]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/_scrolbar.i
Allow for Cmd-click on wxMac
[wxWidgets.git] / wxPython / src / _scrolbar.i
index 5a32c1503f9827c58a9fce50707a40fb105a363a..a4c01b1c924e53c6bf3d3017c6314f7ee92c9ae8 100644 (file)
@@ -20,10 +20,12 @@ MAKE_CONST_WXSTRING(ScrollBarNameStr);
 //---------------------------------------------------------------------------
 %newgroup
 
 //---------------------------------------------------------------------------
 %newgroup
 
+MustHaveApp(wxScrollBar);
+
 class wxScrollBar : public wxControl {
 public:
 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,
 
     wxScrollBar(wxWindow* parent, wxWindowID id = -1,
                 const wxPoint& pos = wxDefaultPosition,
@@ -52,6 +54,9 @@ public:
     virtual void SetScrollbar(int position, int thumbSize,
                               int range, int pageSize,
                               bool refresh = True);
     virtual void SetScrollbar(int position, int thumbSize,
                               int range, int pageSize,
                               bool refresh = True);
+
+    static wxVisualAttributes
+    GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL);
 };
 
 //---------------------------------------------------------------------------
 };
 
 //---------------------------------------------------------------------------