X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/584ad2a32fec156c6049145d7ece9a33213aea28..de97c9d7d93518c60cda4c06c7283bbf3c559945:/src/cocoa/radiobox.mm diff --git a/src/cocoa/radiobox.mm b/src/cocoa/radiobox.mm index 216038e63d..aa699a7e2d 100644 --- a/src/cocoa/radiobox.mm +++ b/src/cocoa/radiobox.mm @@ -1,15 +1,18 @@ ///////////////////////////////////////////////////////////////////////////// -// 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 + #ifndef WX_PRECOMP #include "wx/app.h" #include "wx/radiobox.h" @@ -73,7 +76,7 @@ int wxRadioBox::GetSelection() const } // string access -int wxRadioBox::GetCount() const +size_t wxRadioBox::GetCount() const { return 0; } @@ -88,22 +91,21 @@ void wxRadioBox::SetString(int n, const wxString& label) } // change the individual radio button state -void wxRadioBox::Enable(int n, bool enable) +bool wxRadioBox::Enable(int n, bool enable) { + // TODO + return false; } -void wxRadioBox::Show(int n, bool show) +bool wxRadioBox::Show(int n, bool show) { + // TODO + return false; } - // layout parameters -int wxRadioBox::GetColumnCount() const +wxSize wxRadioBox::DoGetBestSize() const { - return 0; -} - -int wxRadioBox::GetRowCount() const -{ - return 0; + return wxSize(50,50); } +#endif