X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1d591651949a903e8dead16680a9cec11dbaa797..4f2511d706e5274a34e1521e11c1b95fed735b42:/include/wx/gtk/slider.h diff --git a/include/wx/gtk/slider.h b/include/wx/gtk/slider.h index a5a23f5889..5c26690551 100644 --- a/include/wx/gtk/slider.h +++ b/include/wx/gtk/slider.h @@ -58,7 +58,7 @@ public: static wxVisualAttributes GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL); - + // implementation double m_pos; int m_scrollEventType; @@ -68,6 +68,9 @@ public: protected: virtual GdkWindow *GTKGetWindow(wxArrayGdkWindows& windows) const; + // set the slider value unconditionally + void GTKSetValue(int value); + DECLARE_DYNAMIC_CLASS(wxSlider) };