X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/283ed244ade1cf6faa11022f7240323fe15aa58e..20fa338c4120e89356d31e46e9f8c97e0bca67c7:/src/os2/dcclient.cpp diff --git a/src/os2/dcclient.cpp b/src/os2/dcclient.cpp index 9d33ade289..db4fb34562 100644 --- a/src/os2/dcclient.cpp +++ b/src/os2/dcclient.cpp @@ -142,7 +142,6 @@ wxWindowDC::wxWindowDC( void wxWindowDC::InitDC() { - wxColour vColor; // // The background mode is only used for text background and is set in @@ -155,9 +154,10 @@ void wxWindowDC::InitDC() // SetBackground(wxBrush(m_pCanvas->GetBackgroundColour(), wxSOLID)); - vColor.InitFromName("BLACK"); + wxColour vColor( wxT("BLACK") ); m_pen.SetColour(vColor); - vColor.Set("WHITE"); + + vColor.Set( wxT("WHITE") ); m_brush.SetColour(vColor); InitializePalette(); wxFont* pFont = new wxFont( 12