X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/655719367ac5e131d9642e5783f3ecf64d1a3385..c746b747074dba438ac1c06b612184aaad7c7dc6:/include/wx/mac/classic/slider.h diff --git a/include/wx/mac/classic/slider.h b/include/wx/mac/classic/slider.h index 9599a60c10..c270758973 100644 --- a/include/wx/mac/classic/slider.h +++ b/include/wx/mac/classic/slider.h @@ -12,15 +12,11 @@ #ifndef _WX_SLIDER_H_ #define _WX_SLIDER_H_ -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) -#pragma interface "slider.h" -#endif - #include "wx/control.h" #include "wx/slider.h" #include "wx/stattext.h" -WXDLLEXPORT_DATA(extern const wxChar*) wxSliderNameStr; +WXDLLEXPORT_DATA(extern const wxChar) wxSliderNameStr[]; // Slider class WXDLLEXPORT wxSlider: public wxControl @@ -41,7 +37,7 @@ public: Create(parent, id, value, minValue, maxValue, pos, size, style, validator, name); } - ~wxSlider(); + virtual ~wxSlider(); bool Create(wxWindow *parent, wxWindowID id, int value, int minValue, int maxValue, @@ -80,7 +76,7 @@ public: // set min/max size of the slider - virtual void SetSizeHints( int minW, int minH, + virtual void DoSetSizeHints( int minW, int minH, int maxW = -1, int maxH = -1, int incW = -1, int incH = -1 );