X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3a50d19cae533583d61070a3ae939b928b84dd76..e2ca829e7dc84e32a0949cbd852adf9b59cacd0b:/include/wx/os2/radiobox.h diff --git a/include/wx/os2/radiobox.h b/include/wx/os2/radiobox.h index d6fe35c359..d6eb7cc229 100644 --- a/include/wx/os2/radiobox.h +++ b/include/wx/os2/radiobox.h @@ -12,8 +12,6 @@ #ifndef _WX_RADIOBOX_H_ #define _WX_RADIOBOX_H_ -WXDLLEXPORT_DATA(extern const char*) wxRadioBoxNameStr; - // List box item class WXDLLEXPORT wxBitmap ; @@ -31,9 +29,7 @@ public: ,const wxString asChoices[] = NULL ,int nMajorDim = 0 ,long lStyle = wxRA_HORIZONTAL -#if wxUSE_VALIDATORS ,const wxValidator& rVal = wxDefaultValidator -#endif ,const wxString& rsName = wxRadioBoxNameStr ) { @@ -46,9 +42,7 @@ public: ,asChoices ,nMajorDim ,lStyle -#if wxUSE_VALIDATORS ,rVal -#endif ,rsName ); } @@ -64,15 +58,13 @@ public: ,const wxString asChoices[] = NULL ,int nMajorDim = 0 ,long lStyle = wxRA_HORIZONTAL -#if wxUSE_VALIDATORS ,const wxValidator& rVal = wxDefaultValidator -#endif ,const wxString& rsName = wxRadioBoxNameStr ); void Command(wxCommandEvent& rEvent); bool ContainsHWND(WXHWND hWnd) const; - bool Enable(bool bEnable); + virtual bool Enable(bool bEnable = TRUE); void Enable( int nItem ,bool bEnable ); @@ -89,7 +81,7 @@ public: ,WXWORD wId ); void SendNotificationEvent(void); - void Show( int nItem + virtual void Show( int nItem ,bool bShow = TRUE ) ; bool Show(bool bShow);