]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk/slider.h
gtk slider code simplification and better event determination
[wxWidgets.git] / include / wx / gtk / slider.h
index 2b048f99799a924a0ff51a056178801c19fb438a..6ee71daadab097702a54637104c3b162e9a41f78 100644 (file)
@@ -17,7 +17,7 @@
 class WXDLLIMPEXP_CORE wxSlider : public wxSliderBase
 {
 public:
-    wxSlider() { }
+    wxSlider();
     wxSlider(wxWindow *parent,
              wxWindowID id,
              int value, int minValue, int maxValue,
@@ -64,8 +64,9 @@ public:
     void GtkDisableEvents();
     void GtkEnableEvents();
 
-    GtkAdjustment  *m_adjust;
-    float           m_oldPos;
+    double m_pos;
+    int m_scrollEventType;
+    bool m_needThumbRelease;
 
 private:
     DECLARE_DYNAMIC_CLASS(wxSlider)