X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/655719367ac5e131d9642e5783f3ecf64d1a3385..2cf3a6d7bef6f20bea35062dd3d4dbf0aec9efb5:/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; }