Added call to SetValidator

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21514 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
David Elliott
2003-06-30 14:27:42 +00:00
parent 6333b4be27
commit 24a62af3f8
2 changed files with 2 additions and 0 deletions

View File

@@ -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 ) ;

View File

@@ -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 ) ;