X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3824e0db33a024f3ecfda0c22e47d1b14c54732f..66c2bf7b1d9326fb650acfaae22ec50528cfbf7c:/include/wx/gtk/slider.h diff --git a/include/wx/gtk/slider.h b/include/wx/gtk/slider.h index 5c26690551..f8833c4685 100644 --- a/include/wx/gtk/slider.h +++ b/include/wx/gtk/slider.h @@ -2,7 +2,6 @@ // Name: wx/gtk/slider.h // Purpose: // Author: Robert Roebling -// Id: $Id$ // Copyright: (c) 1998 Robert Roebling // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -30,6 +29,7 @@ public: Create( parent, id, value, minValue, maxValue, pos, size, style, validator, name ); } + ~wxSlider(); bool Create(wxWindow *parent, wxWindowID id, @@ -60,12 +60,19 @@ public: 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