X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2646f485163f410baaad5bcf49028c604a352d19..3f4a2351e4c677c88c18ea812b609477adee7380:/src/mac/classic/statline.cpp diff --git a/src/mac/classic/statline.cpp b/src/mac/classic/statline.cpp index 52f3d40733..cbc160d464 100644 --- a/src/mac/classic/statline.cpp +++ b/src/mac/classic/statline.cpp @@ -1,6 +1,6 @@ ///////////////////////////////////////////////////////////////////////////// -// 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$ @@ -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; }