X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/77ffb5937e89927b621128789401db8921fe580f..f8d0234d39c66f3d1d7fc2346562cb96c8c7be20:/src/os2/statline.cpp?ds=sidebyside diff --git a/src/os2/statline.cpp b/src/os2/statline.cpp index 854971b8ac..e9663eebf9 100644 --- a/src/os2/statline.cpp +++ b/src/os2/statline.cpp @@ -1,11 +1,11 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: msw/statline.cpp +// Name: src/os2/statline.cpp // Purpose: OS2 version of wxStaticLine class // Author: David Webster // Created: 10/23/99 // Version: $Id$ // Copyright: (c) 1999 David Webster -// Licence: wxWidgets licence +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// // ============================================================================ @@ -16,19 +16,18 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "statline.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" +#if wxUSE_STATLINE + #include "wx/statline.h" -#if wxUSE_STATLINE +#ifndef WX_PRECOMP + #include "wx/log.h" +#endif #include "wx/os2/private.h" -#include "wx/log.h" // ============================================================================ // implementation @@ -60,7 +59,7 @@ bool wxStaticLine::Create( ,rsName )) return FALSE; - if (!OS2CreateControl( "STATIC" + if (!OS2CreateControl( wxT("STATIC") ,SS_FGNDFRAME ,rPos ,rSize @@ -70,7 +69,7 @@ bool wxStaticLine::Create( wxColour vColour; - vColour.Set(wxString("GREY")); + vColour.Set(wxString(wxT("GREY"))); LONG lColor = (LONG)vColour.GetPixel();