]> git.saurik.com Git - wxWidgets.git/commitdiff
Stub for DoGetBestSize() since this isn't an NSControl
authorDavid Elliott <dfe@tgwbd.org>
Sat, 10 Apr 2004 03:19:37 +0000 (03:19 +0000)
committerDavid Elliott <dfe@tgwbd.org>
Sat, 10 Apr 2004 03:19:37 +0000 (03:19 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26688 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/cocoa/radiobox.h
src/cocoa/radiobox.mm

index 363ffd3a359db900f69f6a1baf67538aefb73b54..959f672e19da8250d47fa6e2f0c015e3050ed29e 100644 (file)
@@ -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__
index 216038e63d4829f8008c453f34628eb78b042f32..93d5043e4711fcda2822da5c8c85d2cac4fbf5d6 100644 (file)
@@ -107,3 +107,8 @@ int wxRadioBox::GetRowCount() const
     return 0;
 }
 
+wxSize wxRadioBox::DoGetBestSize() const
+{
+    return wxSize(50,50);
+}
+