]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/choice.cpp
regenerated from the templates
[wxWidgets.git] / src / mac / choice.cpp
index 0559853584c689fc3381eff7121132f3fd216b37..30a17488d2f79f62948ac6c3909980dd38e5673c 100644 (file)
@@ -216,6 +216,13 @@ void wxChoice::MacHandleControlClick( ControlHandle control , SInt16 controlpart
     event.SetString(GetStringSelection());
     ProcessCommand(event);
 }
     event.SetString(GetStringSelection());
     ProcessCommand(event);
 }
+
+wxSize wxChoice::DoGetBestSize() const
+{
+    // TODO should modify this to take into account string length ala wxGTK
+    return wxSize(100,20);
+}
+
 /*
 void wxChoice::Command(wxCommandEvent & event)
 {
 /*
 void wxChoice::Command(wxCommandEvent & event)
 {