X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6c0fdfbb420efa8d6a7a37a87fd6de092b02720d..a4f6fe43c33bd7933645d110ad2719871dab043d:/include/wx/os2/radiobut.h diff --git a/include/wx/os2/radiobut.h b/include/wx/os2/radiobut.h index 753edfc5be..168967fa14 100644 --- a/include/wx/os2/radiobut.h +++ b/include/wx/os2/radiobut.h @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: radiobut.h +// Name: wx/os2/radiobut.h // Purpose: wxRadioButton class // Author: David Webster // Modified by: @@ -14,7 +14,7 @@ #include "wx/control.h" -class WXDLLEXPORT wxRadioButton: public wxControl +class WXDLLIMPEXP_CORE wxRadioButton: public wxControl { public: inline wxRadioButton() { Init(); } @@ -24,9 +24,7 @@ public: ,const wxPoint& rPos = wxDefaultPosition ,const wxSize& rSize = wxDefaultSize ,long lStyle = 0 -#if wxUSE_VALIDATORS ,const wxValidator& rValidator = wxDefaultValidator -#endif ,const wxString& rsName = wxRadioButtonNameStr ) { @@ -38,9 +36,7 @@ public: ,rPos ,rSize ,lStyle -#if wxUSE_VALIDATORS ,rValidator -#endif ,rsName ); } @@ -51,9 +47,7 @@ public: ,const wxPoint& rPos = wxDefaultPosition ,const wxSize& rSize = wxDefaultSize ,long lStyle = 0 -#if wxUSE_VALIDATORS ,const wxValidator& rValidator = wxDefaultValidator -#endif ,const wxString& rsName = wxRadioButtonNameStr ); @@ -72,6 +66,7 @@ public: virtual void SetFocus(void); protected: + virtual wxBorder GetDefaultBorder() const { return wxBORDER_NONE; } virtual wxSize DoGetBestSize() const; private: