X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8cf73271dd6f442a98e86b559d4a55c37e25b99f..991d57f8443fc8a31c2ad3e3a8180af08a6394d6:/include/wx/mac/carbon/scrolbar.h?ds=sidebyside diff --git a/include/wx/mac/carbon/scrolbar.h b/include/wx/mac/carbon/scrolbar.h index 633b615ced..b2538c5548 100644 --- a/include/wx/mac/carbon/scrolbar.h +++ b/include/wx/mac/carbon/scrolbar.h @@ -12,13 +12,9 @@ #ifndef _WX_SCROLBAR_H_ #define _WX_SCROLBAR_H_ -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) -#pragma interface "scrolbar.h" -#endif - #include "wx/control.h" -WXDLLEXPORT_DATA(extern const wxChar*) wxScrollBarNameStr; +WXDLLEXPORT_DATA(extern const wxChar) wxScrollBarNameStr[]; // Scrollbar item class WXDLLEXPORT wxScrollBar: public wxControl @@ -57,8 +53,11 @@ public: bool refresh = TRUE); void Command(wxCommandEvent& event); - virtual void MacHandleControlClick( WXWidget control , wxInt16 controlpart , bool mouseStillDown ) ; + virtual void MacHandleControlClick( WXWidget control , wxInt16 controlpart , bool mouseStillDown ) ; + virtual wxInt32 MacControlHit( WXEVENTHANDLERREF handler , WXEVENTREF mevent ) ; + wxSize DoGetBestSize() const; + protected: int m_pageSize; int m_viewSize;