X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/da51aebeec14342c697d4d74fcb06d3d216ba4f0..1c1ad00573fc825322af8e5174c52a10a17385c9:/src/os2/dcclient.cpp diff --git a/src/os2/dcclient.cpp b/src/os2/dcclient.cpp index 2100b16925..b811e9a8df 100644 --- a/src/os2/dcclient.cpp +++ b/src/os2/dcclient.cpp @@ -168,17 +168,10 @@ void wxWindowDC::InitDC() // SetBackground(wxBrush(m_pCanvas->GetBackgroundColour(), wxSOLID)); - wxColour vColor( wxT("BLACK") ); - m_pen.SetColour(vColor); - - vColor.Set( wxT("WHITE") ); - m_brush.SetColour(vColor); + m_pen.SetColour(*wxBLACK); + m_brush.SetColour(*wxWHITE); InitializePalette(); - wxFont* pFont = new wxFont( 10 - ,wxMODERN - ,wxNORMAL - ,wxBOLD - ); + wxFont* pFont = new wxFont( 10, wxMODERN, wxNORMAL, wxBOLD ); SetFont(*pFont); delete pFont; //