X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/22756322824e8f377b792897209d052ca9281534..e8481866872d3eec6e0ce1fa7eab856abff26c34:/src/osx/statline_osx.cpp diff --git a/src/osx/statline_osx.cpp b/src/osx/statline_osx.cpp index 0e4515c674..81b8a9a885 100644 --- a/src/osx/statline_osx.cpp +++ b/src/osx/statline_osx.cpp @@ -1,9 +1,8 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: src/osx/carbon/statlmac.cpp +// Name: src/osx/statline_osx.cpp // Purpose: a generic wxStaticLine class // Author: Vadim Zeitlin // Created: 28.06.99 -// Version: $Id$ // Copyright: (c) 1998 Vadim Zeitlin // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -47,9 +46,9 @@ 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;