X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1d261710b8a6cf129d9670d640a4d5df3ca6c0cc..33754c4d83c59b7523a6da0c4fb21079cb60301c:/src/mac/carbon/statlmac.cpp diff --git a/src/mac/carbon/statlmac.cpp b/src/mac/carbon/statlmac.cpp index 93644da485..175708d1fa 100644 --- a/src/mac/carbon/statlmac.cpp +++ b/src/mac/carbon/statlmac.cpp @@ -30,7 +30,7 @@ #include "wx/statline.h" #include "wx/statbox.h" -#include +#include "wx/mac/uma.h" // ============================================================================ // implementation @@ -54,7 +54,7 @@ bool wxStaticLine::Create( wxWindow *parent, MacPreControlCreate( parent , id , "" , pos , size ,style, wxDefaultValidator , name , &bounds , title ) ; - m_macControl = UMANewControl( parent->GetMacRootWindow() , &bounds , title , true , 0 , 0 , 1, + m_macControl = ::NewControl( parent->GetMacRootWindow() , &bounds , title , false , 0 , 0 , 1, kControlSeparatorLineProc , (long) this ) ; MacPostControlCreate() ;