X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8907154c1a8a6882c6797d1f16393ddfb23e7f3a..ea098413d0e9c3f794f43826137a636e229f26f9:/include/wx/mac/carbon/slider.h diff --git a/include/wx/mac/carbon/slider.h b/include/wx/mac/carbon/slider.h index 470b61cc27..fa507b201d 100644 --- a/include/wx/mac/carbon/slider.h +++ b/include/wx/mac/carbon/slider.h @@ -16,7 +16,7 @@ #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 wxSliderBase @@ -37,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, @@ -79,15 +79,15 @@ public: int maxW = -1, int maxH = -1, int incW = -1, int incH = -1 ); + void Command(wxCommandEvent& event); + virtual wxInt32 MacControlHit(WXEVENTHANDLERREF handler, WXEVENTREF event); + void MacHandleControlClick(WXWidget control, wxInt16 controlpart, bool mouseStillDown); + protected: virtual wxSize DoGetBestSize() const; virtual void DoSetSize(int x, int y, int w, int h, int sizeFlags); virtual void DoMoveWindow(int x, int y, int w, int h); - void Command(wxCommandEvent& event); - virtual wxInt32 MacControlHit( WXEVENTHANDLERREF handler , WXEVENTREF event ) ; - void MacHandleControlClick( WXWidget control , wxInt16 controlpart , bool mouseStillDown ) ; - // Common processing to invert slider values based on wxSL_INVERSE virtual int ValueInvertOrNot(int value) const;