X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/48beac4c55ca65ab8bc81128147c87608d511914..65fe93d8a500833e0acd3ff64161b85a204b8dbf:/src/msw/statline.cpp diff --git a/src/msw/statline.cpp b/src/msw/statline.cpp index 3b896d882f..24cd55c91c 100644 --- a/src/msw/statline.cpp +++ b/src/msw/statline.cpp @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: msw/statline.cpp +// Name: src/msw/statline.cpp // Purpose: MSW version of wxStaticLine class // Author: Vadim Zeitlin // Created: 28.06.99 @@ -16,10 +16,6 @@ // headers // ---------------------------------------------------------------------------- -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) - #pragma implementation "statline.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" @@ -31,8 +27,10 @@ #if wxUSE_STATLINE -#include "wx/msw/private.h" -#include "wx/msw/missing.h" +#ifndef WX_PRECOMP + #include "wx/msw/private.h" + #include "wx/msw/missing.h" +#endif // ============================================================================ // implementation @@ -110,7 +108,7 @@ bool wxStaticLine::Create(wxWindow *parent, if ( !CreateControl(parent, id, pos, size, style, wxDefaultValidator, name) ) return false; - return MSWCreateControl(_T("STATIC"), wxEmptyString, pos, size); + return MSWCreateControl(wxT("STATIC"), wxEmptyString, pos, size); } WXDWORD wxStaticLine::MSWGetStyle(long style, WXDWORD *exstyle) const @@ -131,4 +129,3 @@ WXDWORD wxStaticLine::MSWGetStyle(long style, WXDWORD *exstyle) const } #endif // wxUSE_STATLINE -