X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9a165f54b9c1cac029906493098004e5b78bbc9c..189da67c55cb8ce76725d77e58b76c1fc666d9a6:/src/cocoa/radiobox.mm diff --git a/src/cocoa/radiobox.mm b/src/cocoa/radiobox.mm index 93d5043e47..a6e87e742f 100644 --- a/src/cocoa/radiobox.mm +++ b/src/cocoa/radiobox.mm @@ -1,18 +1,22 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: cocoa/radiobox.mm +// Name: src/cocoa/radiobox.mm // Purpose: wxRadioBox // Author: David Elliott // Modified by: // Created: 2003/02/15 -// RCS-ID: $Id: +// RCS-ID: $Id$ // Copyright: (c) 2003 David Elliott -// Licence: wxWindows license +// Licence: wxWidgets licence ///////////////////////////////////////////////////////////////////////////// #include "wx/wxprec.h" + +#if wxUSE_RADIOBOX + +#include "wx/radiobox.h" + #ifndef WX_PRECOMP #include "wx/app.h" - #include "wx/radiobox.h" #include "wx/arrstr.h" #endif //WX_PRECOMP @@ -73,38 +77,31 @@ int wxRadioBox::GetSelection() const } // string access -int wxRadioBox::GetCount() const +unsigned int wxRadioBox::GetCount() const { return 0; } -wxString wxRadioBox::GetString(int n) const +wxString wxRadioBox::GetString(unsigned int n) const { return wxEmptyString; } -void wxRadioBox::SetString(int n, const wxString& label) +void wxRadioBox::SetString(unsigned int n, const wxString& label) { } // change the individual radio button state -void wxRadioBox::Enable(int n, bool enable) -{ -} - -void wxRadioBox::Show(int n, bool show) +bool wxRadioBox::Enable(unsigned int n, bool enable) { + // TODO + return false; } - // layout parameters -int wxRadioBox::GetColumnCount() const +bool wxRadioBox::Show(unsigned int n, bool show) { - return 0; -} - -int wxRadioBox::GetRowCount() const -{ - return 0; + // TODO + return false; } wxSize wxRadioBox::DoGetBestSize() const @@ -112,3 +109,4 @@ wxSize wxRadioBox::DoGetBestSize() const return wxSize(50,50); } +#endif