X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/77ffb5937e89927b621128789401db8921fe580f..ec5006bdc630dd6b3d4cad1a3b572ab4c695a029:/src/mac/classic/statline.cpp diff --git a/src/mac/classic/statline.cpp b/src/mac/classic/statline.cpp index dbc34aaa73..cbc160d464 100644 --- a/src/mac/classic/statline.cpp +++ b/src/mac/classic/statline.cpp @@ -1,11 +1,11 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: generic/statline.cpp -// Purpose: a generic wxStaticLine class +// Name: src/mac/classic/statline.cpp +// Purpose: wxStaticLine class // Author: Vadim Zeitlin // Created: 28.06.99 // Version: $Id$ // Copyright: (c) 1998 Vadim Zeitlin -// Licence: wxWidgets licence +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// // ============================================================================ @@ -16,10 +16,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "statline.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" @@ -28,7 +24,10 @@ #endif #include "wx/statline.h" -#include "wx/statbox.h" + +#ifndef WX_PRECOMP + #include "wx/statbox.h" +#endif // ============================================================================ // implementation @@ -48,7 +47,7 @@ bool wxStaticLine::Create( wxWindow *parent, const wxString &name) { if ( !CreateBase(parent, id, pos, size, style, wxDefaultValidator, name) ) - return FALSE; + return false; // ok, this is ugly but it's better than nothing: use a thin static box to // emulate static line @@ -57,5 +56,5 @@ bool wxStaticLine::Create( wxWindow *parent, // m_statbox = new wxStaticBox(parent, id, wxT(""), pos, sizeReal, style, name); - return TRUE; + return true; }