X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/655719367ac5e131d9642e5783f3ecf64d1a3385..e4c37d10dd8f5aa28de2afd022b49a3f53a86d47:/include/wx/msw/radiobut.h diff --git a/include/wx/msw/radiobut.h b/include/wx/msw/radiobut.h index da92a8e18f..af598b9451 100644 --- a/include/wx/msw/radiobut.h +++ b/include/wx/msw/radiobut.h @@ -12,10 +12,6 @@ #ifndef _WX_RADIOBUT_H_ #define _WX_RADIOBUT_H_ -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) - #pragma interface "radiobut.h" -#endif - class WXDLLEXPORT wxRadioButton: public wxControl { public: @@ -52,9 +48,7 @@ public: // implementation only from now on virtual bool MSWCommand(WXUINT param, WXWORD id); virtual void Command(wxCommandEvent& event); - virtual void ApplyParentThemeBackground(const wxColour& bg) - { SetBackgroundColour(bg); } - + virtual bool HasTransparentBackground() { return true; } protected: virtual wxSize DoGetBestSize() const;