X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3ef585df0c08670ac9a208d827b69375fac72ebb..dbcbe229628c7667da2b6257198467d4f09ab28d:/src/mac/choice.cpp?ds=sidebyside diff --git a/src/mac/choice.cpp b/src/mac/choice.cpp index 0559853584..30a17488d2 100644 --- a/src/mac/choice.cpp +++ b/src/mac/choice.cpp @@ -216,6 +216,13 @@ void wxChoice::MacHandleControlClick( ControlHandle control , SInt16 controlpart 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) {