]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/statline.cpp
Make SetLocal actually work instead of crashing immediately; due to required longevit...
[wxWidgets.git] / src / os2 / statline.cpp
index 854971b8ace4243f083a71eadc546688b4754881..ab764d8dcefd3ae4be7805ed42938421781a090a 100644 (file)
@@ -5,7 +5,7 @@
 // Created:     10/23/99
 // Version:     $Id$
 // Copyright:   (c) 1999 David Webster
-// Licence:     wxWidgets licence
+// Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
 // ============================================================================
 // headers
 // ----------------------------------------------------------------------------
 
-#ifdef __GNUG__
-    #pragma implementation "statline.h"
-#endif
-
 // For compilers that support precompilation, includes "wx.h".
 #include "wx/wxprec.h"
 
@@ -60,7 +56,7 @@ bool wxStaticLine::Create(
                         ,rsName
                        ))
         return FALSE;
-    if (!OS2CreateControl( "STATIC"
+    if (!OS2CreateControl( wxT("STATIC")
                           ,SS_FGNDFRAME
                           ,rPos
                           ,rSize
@@ -70,7 +66,7 @@ bool wxStaticLine::Create(
 
     wxColour                        vColour;
 
-    vColour.Set(wxString("GREY"));
+    vColour.Set(wxString(wxT("GREY")));
 
     LONG                            lColor = (LONG)vColour.GetPixel();