From 9a165f54b9c1cac029906493098004e5b78bbc9c Mon Sep 17 00:00:00 2001 From: David Elliott Date: Sat, 10 Apr 2004 03:19:37 +0000 Subject: [PATCH] Stub for DoGetBestSize() since this isn't an NSControl git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26688 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/cocoa/radiobox.h | 2 ++ src/cocoa/radiobox.mm | 5 +++++ 2 files changed, 7 insertions(+) diff --git a/include/wx/cocoa/radiobox.h b/include/wx/cocoa/radiobox.h index 363ffd3a35..959f672e19 100644 --- a/include/wx/cocoa/radiobox.h +++ b/include/wx/cocoa/radiobox.h @@ -94,6 +94,8 @@ public: // layout parameters virtual int GetColumnCount() const; virtual int GetRowCount() const; +protected: + virtual wxSize DoGetBestSize() const; }; #endif // __WX_COCOA_RADIOBOX_H__ diff --git a/src/cocoa/radiobox.mm b/src/cocoa/radiobox.mm index 216038e63d..93d5043e47 100644 --- a/src/cocoa/radiobox.mm +++ b/src/cocoa/radiobox.mm @@ -107,3 +107,8 @@ int wxRadioBox::GetRowCount() const return 0; } +wxSize wxRadioBox::DoGetBestSize() const +{ + return wxSize(50,50); +} + -- 2.45.2