X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/12028905135250524409f1e7b9bfa9c55e5ce16b..b5d43d1d73da3d4c690af39466fd1d73889df2db:/include/wx/mac/control.h?ds=sidebyside diff --git a/include/wx/mac/control.h b/include/wx/mac/control.h index 148c8e7297..679d13755f 100644 --- a/include/wx/mac/control.h +++ b/include/wx/mac/control.h @@ -84,16 +84,6 @@ public: virtual void Refresh(bool eraseBack = TRUE, const wxRect *rect = NULL) ; WXWidget GetMacControl() { return m_macControl ;} -#if WXWIN_COMPATIBILITY - virtual void SetButtonColour(const wxColour& WXUNUSED(col)) { } - wxColour* GetButtonColour() const { return NULL; } - - inline virtual void SetLabelFont(const wxFont& font); - inline virtual void SetButtonFont(const wxFont& font); - inline wxFont& GetLabelFont() const; - inline wxFont& GetButtonFont() const; -#endif // WXWIN_COMPATIBILITY - protected: // For controls like radiobuttons which are really composite WXWidget m_macControl ; @@ -110,13 +100,6 @@ private: }; -#if WXWIN_COMPATIBILITY - inline wxFont& wxControl::GetLabelFont() const { return GetFont(); } - inline wxFont& wxControl::GetButtonFont() const { return GetFont(); } - inline void wxControl::SetLabelFont(const wxFont& font) { SetFont(font); } - inline void wxControl::SetButtonFont(const wxFont& font) { SetFont(font); } -#endif // WXWIN_COMPATIBILITY - wxControl *wxFindControlFromMacControl(WXWidget inControl ) ; void wxAssociateControlWithMacControl(WXWidget inControl, wxControl *control) ; void wxRemoveMacControlAssociation(wxControl *control) ;