X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7cd7bc23d574ea5ec62f1abea73eb363a9ea8126..a7868cdf6a8782a04a46791dd63de2ade825a8bc:/src/mac/carbon/choice.cpp?ds=sidebyside diff --git a/src/mac/carbon/choice.cpp b/src/mac/carbon/choice.cpp index 8898554b20..677acc8cfe 100644 --- a/src/mac/carbon/choice.cpp +++ b/src/mac/carbon/choice.cpp @@ -17,6 +17,7 @@ #ifndef WX_PRECOMP #include "wx/menu.h" + #include "wx/dcclient.h" #endif #include "wx/mac/uma.h" @@ -100,7 +101,7 @@ bool wxChoice::Create(wxWindow *parent, SetSelection( 0 ); // Needed because it is a wxControlWithItems - SetBestSize( size ); + SetInitialSize( size ); return true; }