X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/12028905135250524409f1e7b9bfa9c55e5ce16b..c45b7e75d1833c93200ca2d4e518954e48ec936e:/include/wx/msw/control.h?ds=sidebyside diff --git a/include/wx/msw/control.h b/include/wx/msw/control.h index 515193a109..512f308afa 100644 --- a/include/wx/msw/control.h +++ b/include/wx/msw/control.h @@ -65,16 +65,6 @@ public: virtual WXHBRUSH OnCtlColor(WXHDC pDC, WXHWND pWnd, WXUINT nCtlColor, WXUINT message, WXWPARAM wParam, WXLPARAM lParam); -#if WXWIN_COMPATIBILITY - virtual void SetButtonColour(const wxColour& WXUNUSED(col)) { } - wxColour* GetButtonColour() const { return NULL; } - - virtual void SetLabelFont(const wxFont& font); - virtual void SetButtonFont(const wxFont& font); - wxFont& GetLabelFont() const; - wxFont& GetButtonFont() const; -#endif // WXWIN_COMPATIBILITY - protected: // choose the default border for this window virtual wxBorder GetDefaultBorder() const; @@ -123,13 +113,5 @@ private: DECLARE_EVENT_TABLE() }; - -#if WXWIN_COMPATIBILITY - inline wxFont& wxControl::GetLabelFont() const { return (wxFont &)GetFont(); } - inline wxFont& wxControl::GetButtonFont() const { return (wxFont &)GetFont(); } - inline void wxControl::SetLabelFont(const wxFont& font) { SetFont(font); } - inline void wxControl::SetButtonFont(const wxFont& font) { SetFont(font); } -#endif // WXWIN_COMPATIBILITY - #endif // _WX_CONTROL_H_