Unicode fixes for OS/2 (all inside #ifdef __WXPM__ blocks

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33892 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
David Webster
2005-04-27 01:17:45 +00:00
parent edf1dfa16d
commit 18ed8e0032
4 changed files with 10 additions and 10 deletions

View File

@@ -52,7 +52,7 @@ wxInfoFrame::wxInfoFrame(wxWindow *parent, const wxString& message)
int nParentWidth = parent->GetClientSize().x;
int nColor;
SetBackgroundColour("WHITE");
SetBackgroundColour(wxT("WHITE"));
nColor = (LONG)GetBackgroundColour().GetPixel();
::WinSetPresParam( GetHwnd()
@@ -60,7 +60,7 @@ wxInfoFrame::wxInfoFrame(wxWindow *parent, const wxString& message)
,sizeof(LONG)
,(PVOID)&nColor
);
panel->SetBackgroundColour("WHITE");
panel->SetBackgroundColour(wxT("WHITE"));
nColor = (LONG)panel->GetBackgroundColour().GetPixel();
::WinSetPresParam( GetHwndOf(panel)
@@ -81,7 +81,7 @@ wxInfoFrame::wxInfoFrame(wxWindow *parent, const wxString& message)
,nHeight
,SWP_SIZE | SWP_MOVE | SWP_ACTIVATE
);
text->SetBackgroundColour("WHITE");
text->SetBackgroundColour(wxT("WHITE"));
nColor = (LONG)text->GetBackgroundColour().GetPixel();
::WinSetPresParam( GetHwndOf(text)