/////////////////////////////////////////////////////////////////////////////
-// Name: radiobut.h
+// Name: wx/os2/radiobut.h
// Purpose: wxRadioButton class
// Author: David Webster
// Modified by:
#include "wx/control.h"
-class WXDLLEXPORT wxRadioButton: public wxControl
+class WXDLLIMPEXP_CORE wxRadioButton: public wxControl
{
public:
inline wxRadioButton() { Init(); }
,const wxPoint& rPos = wxDefaultPosition
,const wxSize& rSize = wxDefaultSize
,long lStyle = 0
-#if wxUSE_VALIDATORS
,const wxValidator& rValidator = wxDefaultValidator
-#endif
,const wxString& rsName = wxRadioButtonNameStr
)
{
,rPos
,rSize
,lStyle
-#if wxUSE_VALIDATORS
,rValidator
-#endif
,rsName
);
}
,const wxPoint& rPos = wxDefaultPosition
,const wxSize& rSize = wxDefaultSize
,long lStyle = 0
-#if wxUSE_VALIDATORS
,const wxValidator& rValidator = wxDefaultValidator
-#endif
,const wxString& rsName = wxRadioButtonNameStr
);
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: