X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1d591651949a903e8dead16680a9cec11dbaa797..8e77fd8bca165aab9709649d79a7cbc6a172d4e1:/include/wx/gtk/slider.h?ds=sidebyside diff --git a/include/wx/gtk/slider.h b/include/wx/gtk/slider.h index a5a23f5889..0476b55aae 100644 --- a/include/wx/gtk/slider.h +++ b/include/wx/gtk/slider.h @@ -30,6 +30,7 @@ public: Create( parent, id, value, minValue, maxValue, pos, size, style, validator, name ); } + ~wxSlider(); bool Create(wxWindow *parent, wxWindowID id, @@ -58,16 +59,26 @@ public: static wxVisualAttributes GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL); - + // implementation + void GTKDisableEvents(); + void GTKEnableEvents(); + bool GTKEventsDisabled() const; + double m_pos; int m_scrollEventType; bool m_needThumbRelease; - bool m_blockScrollEvent; + GtkWidget *m_scale; protected: + GtkWidget *m_minLabel,*m_maxLabel; + bool m_blockScrollEvent; + virtual GdkWindow *GTKGetWindow(wxArrayGdkWindows& windows) const; + // set the slider value unconditionally + void GTKSetValue(int value); + DECLARE_DYNAMIC_CLASS(wxSlider) };