]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/stattext.cpp
More updates from Morgan Hua
[wxWidgets.git] / src / os2 / stattext.cpp
index d5cfd5c9e4a629b482f66992ac71adbdc0e0e10a..4febe1ee27b750a262d0f4ab999475531cabc530 100644 (file)
@@ -83,7 +83,7 @@ bool wxStaticText::Create(
 
     wxColour                        vColour;
 
-    vColour.Set(wxString("BLACK"));
+    vColour.Set(wxString(wxT("BLACK")));
 
     LONG                            lColor = (LONG)vColour.GetPixel();
 
@@ -235,7 +235,7 @@ void wxStaticText::SetLabel(
   const wxString&                   rsLabel
 )
 {
-    ::WinSetWindowText(GetHwnd(), rsLabel.c_str());
+    ::WinSetWindowText(GetHwnd(), (PSZ)rsLabel.c_str());
 
     //
     // Adjust the size of the window to fit to the label unless autoresizing is