X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f607434a0f14d78d05e011f98fae56648cfde0c9..9869c26285dc51d13607cddaa04f65ce983653a5:/include/wx/msw/radiobut.h diff --git a/include/wx/msw/radiobut.h b/include/wx/msw/radiobut.h index b47ee2e241..4e9af38f70 100644 --- a/include/wx/msw/radiobut.h +++ b/include/wx/msw/radiobut.h @@ -1,10 +1,9 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: radiobut.h +// Name: wx/msw/radiobut.h // Purpose: wxRadioButton class // Author: Julian Smart // Modified by: // Created: 01/02/97 -// RCS-ID: $Id$ // Copyright: (c) Julian Smart // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -12,11 +11,7 @@ #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,8 +47,12 @@ public: // implementation only from now on virtual bool MSWCommand(WXUINT param, WXWORD id); virtual void Command(wxCommandEvent& event); + 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: