X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6e348b12dcc7f994da8c2552b80d60140578a745..b792147db7e5ceb5da741f5f6e27fea79944a04c:/src/os2/stattext.cpp diff --git a/src/os2/stattext.cpp b/src/os2/stattext.cpp index d5cfd5c9e4..4febe1ee27 100644 --- a/src/os2/stattext.cpp +++ b/src/os2/stattext.cpp @@ -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