X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/289b295104fe9126962c1fa26ceae0de5cbfe80b..9869c26285dc51d13607cddaa04f65ce983653a5:/include/wx/os2/radiobut.h diff --git a/include/wx/os2/radiobut.h b/include/wx/os2/radiobut.h index 1d3557cd10..7e8f9ac173 100644 --- a/include/wx/os2/radiobut.h +++ b/include/wx/os2/radiobut.h @@ -1,10 +1,9 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: radiobut.h +// Name: wx/os2/radiobut.h // Purpose: wxRadioButton class // Author: David Webster // Modified by: // Created: 10/12/99 -// RCS-ID: $Id$ // Copyright: (c) David Webster // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -14,7 +13,7 @@ #include "wx/control.h" -class WXDLLEXPORT wxRadioButton: public wxControl +class WXDLLIMPEXP_CORE wxRadioButton: public wxControl { public: inline wxRadioButton() { Init(); } @@ -24,9 +23,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 +35,7 @@ public: ,rPos ,rSize ,lStyle -#if wxUSE_VALIDATORS ,rValidator -#endif ,rsName ); } @@ -51,9 +46,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 ); @@ -61,12 +54,18 @@ public: virtual void SetValue(bool bVal); virtual bool GetValue(void) const ; - bool OS2Command( WXUINT wParam - ,WXWORD wId - ); - void Command(wxCommandEvent& rEvent); - virtual void SetFocus(void); + bool OS2Command( WXUINT wParam + ,WXWORD wId + ); + void Command(wxCommandEvent& rEvent); + virtual MRESULT OS2WindowProc( WXUINT uMsg + ,WXWPARAM wParam + ,WXLPARAM lParam + ); + virtual void SetFocus(void); + protected: + virtual wxBorder GetDefaultBorder() const { return wxBORDER_NONE; } virtual wxSize DoGetBestSize() const; private: