X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/655719367ac5e131d9642e5783f3ecf64d1a3385..09d27083f5e1e6cd155a9eab9ffeb71fc2d0d2f7:/src/mac/classic/statbox.cpp diff --git a/src/mac/classic/statbox.cpp b/src/mac/classic/statbox.cpp index 13c7daf669..3ab92b74e4 100644 --- a/src/mac/classic/statbox.cpp +++ b/src/mac/classic/statbox.cpp @@ -47,7 +47,7 @@ bool wxStaticBox::Create(wxWindow *parent, wxWindowID id, MacPreControlCreate( parent , id , label , pos , size ,style, wxDefaultValidator , name , &bounds , title ) ; - m_macControl = ::NewControl( MAC_WXHWND(parent->MacGetRootWindow()) , &bounds , title , false , 0 , 0 , 1, + m_macControl = (WXWidget) ::NewControl( MAC_WXHWND(parent->MacGetRootWindow()) , &bounds , title , false , 0 , 0 , 1, kControlGroupBoxTextTitleProc , (long) this ) ; MacPostControlCreate() ;