X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f9eee2db810695ae4417e9935475f268bb68bbac..1e2cb856c4849b0956c21f053be2bc8f30b881fb:/include/wx/os2/radiobox.h diff --git a/include/wx/os2/radiobox.h b/include/wx/os2/radiobox.h index d6eb7cc229..f1309b5bf3 100644 --- a/include/wx/os2/radiobox.h +++ b/include/wx/os2/radiobox.h @@ -47,6 +47,31 @@ public: ); } + inline wxRadioBox( wxWindow* pParent + ,wxWindowID vId + ,const wxString& rsTitle + ,const wxPoint& rPos + ,const wxSize& rSize + ,const wxArrayString& asChoices + ,int nMajorDim = 0 + ,long lStyle = wxRA_HORIZONTAL + ,const wxValidator& rVal = wxDefaultValidator + ,const wxString& rsName = wxRadioBoxNameStr + ) + { + Create( pParent + ,vId + ,rsTitle + ,rPos + ,rSize + ,asChoices + ,nMajorDim + ,lStyle + ,rVal + ,rsName + ); + } + ~wxRadioBox(); bool Create( wxWindow* pParent @@ -62,12 +87,22 @@ public: ,const wxString& rsName = wxRadioBoxNameStr ); + bool Create( wxWindow* pParent + ,wxWindowID vId + ,const wxString& rsTitle + ,const wxPoint& rPos + ,const wxSize& rSize + ,const wxArrayString& asChoices + ,int nMajorDim = 0 + ,long lStyle = wxRA_HORIZONTAL + ,const wxValidator& rVal = wxDefaultValidator + ,const wxString& rsName = wxRadioBoxNameStr + ); + void Command(wxCommandEvent& rEvent); bool ContainsHWND(WXHWND hWnd) const; - virtual bool Enable(bool bEnable = TRUE); - void Enable( int nItem - ,bool bEnable - ); + virtual bool Enable(bool bEnable = true); + virtual bool Enable(int nItem, bool bEnable = true); int FindString(const wxString& sStr) const; virtual WXHBRUSH OnCtlColor( WXHDC hDC @@ -82,7 +117,7 @@ public: ); void SendNotificationEvent(void); virtual void Show( int nItem - ,bool bShow = TRUE + ,bool bShow = true ) ; bool Show(bool bShow); MRESULT WindowProc( WXUINT uMsg