X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/289532452089421ddadbd4726a8469511a19ab76..eea4d01c65f9b29baa1193db762b4c6b8144af24:/src/osx/statline_osx.cpp?ds=sidebyside diff --git a/src/osx/statline_osx.cpp b/src/osx/statline_osx.cpp index 73e29957c7..39522f252c 100644 --- a/src/osx/statline_osx.cpp +++ b/src/osx/statline_osx.cpp @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: src/osx/carbon/statlmac.cpp +// Name: src/osx/statline_osx.cpp // Purpose: a generic wxStaticLine class // Author: Vadim Zeitlin // Created: 28.06.99 @@ -47,14 +47,14 @@ bool wxStaticLine::Create( wxWindow *parent, const wxSize &size, long style, const wxString &name) -{ - m_macIsUserPane = false ; - +{ + DontCreatePeer(); + if ( !wxStaticLineBase::Create(parent, id, pos, size, style, wxDefaultValidator, name) ) return false; - m_peer = wxWidgetImpl::CreateStaticLine( this, parent, id, pos, size, style, GetExtraStyle() ); + SetPeer(wxWidgetImpl::CreateStaticLine( this, parent, id, pos, size, style, GetExtraStyle() )); MacPostControlCreate(pos,size) ;