X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/41c9a21f8cc72250ee4b0d5230c5f529c0ab0aab..0fe5e8fea017ecb73f8aaa8ceb745feb269b3f79:/src/mac/statbox.cpp diff --git a/src/mac/statbox.cpp b/src/mac/statbox.cpp index 1a562c12e6..529c720da3 100644 --- a/src/mac/statbox.cpp +++ b/src/mac/statbox.cpp @@ -43,7 +43,7 @@ bool wxStaticBox::Create(wxWindow *parent, wxWindowID id, MacPreControlCreate( parent , id , label , pos , size ,style, wxDefaultValidator , name , &bounds , title ) ; - m_macControl = ::NewControl( parent->MacGetRootWindow() , &bounds , title , false , 0 , 0 , 1, + m_macControl = ::NewControl( MAC_WXHWND(parent->MacGetRootWindow()) , &bounds , title , false , 0 , 0 , 1, kControlGroupBoxTextTitleProc , (long) this ) ; MacPostControlCreate() ;