X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5f7bcb48fd9a642036a3bf5c70e2b0c9576df1b1..414f2513fc42e1ec60954c7c000d7ae78ba6af8c:/include/wx/msw/button.h?ds=sidebyside diff --git a/include/wx/msw/button.h b/include/wx/msw/button.h index 2728b70739..8ae1f466fd 100644 --- a/include/wx/msw/button.h +++ b/include/wx/msw/button.h @@ -54,13 +54,6 @@ public: virtual WXLRESULT MSWWindowProc(WXUINT nMsg, WXWPARAM wParam, WXLPARAM lParam); virtual bool MSWCommand(WXUINT param, WXWORD id); - virtual void ApplyParentThemeBackground(const wxColour& bg) - { - // avoide switching into owner-drawn mode - wxControl::SetBackgroundColour(bg); - } - -#ifdef __WIN32__ // coloured buttons support virtual bool SetBackgroundColour(const wxColour &colour); virtual bool SetForegroundColour(const wxColour &colour); @@ -69,7 +62,6 @@ public: private: void MakeOwnerDrawn(); -#endif // __WIN32__ protected: // send a notification event, return true if processed