/////////////////////////////////////////////////////////////////////////////
-// Name: msw/statline.cpp
+// Name: src/os2/statline.cpp
// Purpose: OS2 version of wxStaticLine class
// Author: David Webster
// Created: 10/23/99
// 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
,rsName
))
return FALSE;
- if (!OS2CreateControl( "STATIC"
+ if (!OS2CreateControl( wxT("STATIC")
,SS_FGNDFRAME
,rPos
,rSize
wxColour vColour;
- vColour.Set(wxString("GREY"));
+ vColour.Set(wxString(wxT("GREY")));
LONG lColor = (LONG)vColour.GetPixel();