]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/_slider.i
bug fixes for using wxTransientPopupWindow and wxDP_ALLOWNONE support from Andreas...
[wxWidgets.git] / wxPython / src / _slider.i
index 6ecb209afe0bbc020f1f6f0c4aa41b9076b6b281..1698e2a374c619b29c1c8c91707687062e5edd4b 100644 (file)
@@ -25,6 +25,21 @@ MAKE_CONST_WXSTRING(SliderNameStr);
 //---------------------------------------------------------------------------
 %newgroup
 
 //---------------------------------------------------------------------------
 %newgroup
 
+enum {
+    wxSL_HORIZONTAL,
+    wxSL_VERTICAL,
+    wxSL_AUTOTICKS,
+    wxSL_LABELS,
+    wxSL_LEFT,
+    wxSL_TOP,
+    wxSL_RIGHT,
+    wxSL_BOTTOM,
+    wxSL_BOTH,
+    wxSL_SELRANGE,
+    wxSL_INVERSE
+};
+
+
 MustHaveApp(wxSlider);
 
 class wxSlider : public wxControl {
 MustHaveApp(wxSlider);
 
 class wxSlider : public wxControl {
@@ -41,7 +56,7 @@ public:
              long style = wxSL_HORIZONTAL,
              const wxValidator& validator = wxDefaultValidator,
              const wxString& name = wxPySliderNameStr);
              long style = wxSL_HORIZONTAL,
              const wxValidator& validator = wxDefaultValidator,
              const wxString& name = wxPySliderNameStr);
-    %name(PreSlider)wxSlider();
+    %RenameCtor(PreSlider, wxSlider());
 
     bool Create(wxWindow* parent, wxWindowID id=-1,
              int value=0, int minValue=0, int maxValue=100,
 
     bool Create(wxWindow* parent, wxWindowID id=-1,
              int value=0, int minValue=0, int maxValue=100,