X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1d591651949a903e8dead16680a9cec11dbaa797..d19ce8c49127a8550a784b4d54464c81003a102b:/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) };