X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/77ffb5937e89927b621128789401db8921fe580f..bced985eb03eb774a1e5337ed8b1fa7d662d11a3:/include/wx/msw/radiobut.h?ds=inline diff --git a/include/wx/msw/radiobut.h b/include/wx/msw/radiobut.h index 207ea21dbb..41d6ef1d3b 100644 --- a/include/wx/msw/radiobut.h +++ b/include/wx/msw/radiobut.h @@ -6,17 +6,13 @@ // Created: 01/02/97 // RCS-ID: $Id$ // Copyright: (c) Julian Smart -// Licence: wxWidgets licence +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #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 +class WXDLLIMPEXP_CORE wxRadioButton: public wxControl { public: // ctors and creation functions @@ -52,11 +48,12 @@ 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; } + virtual WXDWORD MSWGetStyle(long style, WXDWORD *exstyle) const; protected: + virtual wxBorder GetDefaultBorder() const { return wxBORDER_NONE; } virtual wxSize DoGetBestSize() const; private: