X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/892e461e3307b21676e9b0b0e588abc4e36dad31..50d0b061eeeb4f87594ccea7508a7c5975fb36dd:/src/mac/choice.cpp diff --git a/src/mac/choice.cpp b/src/mac/choice.cpp index 08f5a8fd75..9f05a58372 100644 --- a/src/mac/choice.cpp +++ b/src/mac/choice.cpp @@ -45,7 +45,7 @@ bool wxChoice::Create(wxWindow *parent, wxWindowID id, MacPreControlCreate( parent , id , "" , pos , size ,style, validator , name , &bounds , title ) ; - m_macControl = UMANewControl( parent->GetMacRootWindow() , &bounds , title , false , 0 , -12345 , 0 , + m_macControl = ::NewControl( parent->GetMacRootWindow() , &bounds , title , false , 0 , -12345 , 0 , kControlPopupButtonProc + kControlPopupFixedWidthVariant , (long) this ) ; m_macPopUpMenuHandle = NewUniqueMenu() ;