diff --git a/src/mac/carbon/choice.cpp b/src/mac/carbon/choice.cpp index a8cb9b6667..66e8bc107e 100644 --- a/src/mac/carbon/choice.cpp +++ b/src/mac/carbon/choice.cpp @@ -52,6 +52,7 @@ bool wxChoice::Create(wxWindow *parent, wxWindowID id, Str255 title ; MacPreControlCreate( parent , id , "" , pos , size ,style, validator , name , &bounds , title ) ; + SetValidator(validator); m_macControl = ::NewControl( MAC_WXHWND(parent->MacGetRootWindow()) , &bounds , title , false , 0 , -12345 , 0 , kControlPopupButtonProc + kControlPopupFixedWidthVariant , (long) this ) ; diff --git a/src/mac/choice.cpp b/src/mac/choice.cpp index a8cb9b6667..66e8bc107e 100644 --- a/src/mac/choice.cpp +++ b/src/mac/choice.cpp @@ -52,6 +52,7 @@ bool wxChoice::Create(wxWindow *parent, wxWindowID id, Str255 title ; MacPreControlCreate( parent , id , "" , pos , size ,style, validator , name , &bounds , title ) ; + SetValidator(validator); m_macControl = ::NewControl( MAC_WXHWND(parent->MacGetRootWindow()) , &bounds , title , false , 0 , -12345 , 0 , kControlPopupButtonProc + kControlPopupFixedWidthVariant , (long) this ) ;