X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4f305456585c3f53b58f90803d25f1392eaedb36..d9af087c42d48c57c47963f4a3aa8a507779a613:/include/wx/mac/carbon/slider.h diff --git a/include/wx/mac/carbon/slider.h b/include/wx/mac/carbon/slider.h index ec96420817..dbdc6866af 100644 --- a/include/wx/mac/carbon/slider.h +++ b/include/wx/mac/carbon/slider.h @@ -80,7 +80,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 ); @@ -90,8 +90,12 @@ public: 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 + int MacInvertOrNot(int value) const; + wxStaticText* m_macMinimumStatic ; wxStaticText* m_macMaximumStatic ; wxStaticText* m_macValueStatic ;