X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1d591651949a903e8dead16680a9cec11dbaa797..14b44999eb335f3fc84b4362980b1730b8887588:/include/wx/gtk/slider.h diff --git a/include/wx/gtk/slider.h b/include/wx/gtk/slider.h index a5a23f5889..50e9df086c 100644 --- a/include/wx/gtk/slider.h +++ b/include/wx/gtk/slider.h @@ -58,16 +58,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) };