X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8907154c1a8a6882c6797d1f16393ddfb23e7f3a..c2695fb3b15ca34114578adc398ac11d038240ad:/src/mac/classic/statlmac.cpp diff --git a/src/mac/classic/statlmac.cpp b/src/mac/classic/statlmac.cpp index 0e54cd7975..818321cb0d 100644 --- a/src/mac/classic/statlmac.cpp +++ b/src/mac/classic/statlmac.cpp @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: generic/statline.cpp +// Name: src/mac/classic/statlmac.cpp // Purpose: a generic wxStaticLine class // Author: Vadim Zeitlin // Created: 28.06.99 @@ -24,7 +24,10 @@ #endif #include "wx/statline.h" -#include "wx/statbox.h" + +#ifndef WX_PRECOMP + #include "wx/statbox.h" +#endif #include "wx/mac/uma.h" @@ -51,13 +54,13 @@ bool wxStaticLine::Create( wxWindow *parent, Rect bounds ; Str255 title ; - + MacPreControlCreate( parent , id , wxEmptyString , pos , size ,style, wxDefaultValidator , name , &bounds , title ) ; - m_macControl = (WXWidget) ::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, kControlSeparatorLineProc , (long) this ) ; - + MacPostControlCreate() ; - return TRUE; + return true; }