X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c5f975dddbd7ad4d495eadaffaf04cd86a5d3b42..7ea1c917764fb2588fe1aadc75c49ba300f8cb2f:/src/os2/statbox.cpp diff --git a/src/os2/statbox.cpp b/src/os2/statbox.cpp index ef75d915d0..2464ee04b0 100644 --- a/src/os2/statbox.cpp +++ b/src/os2/statbox.cpp @@ -65,24 +65,20 @@ bool wxStaticBox::Create( SetBackgroundColour(GetParent()->GetBackgroundColour()); wxColour vColour; - vColour.Set(wxString(wxT("BLACK"))); - LONG lColor = (LONG)vColour.GetPixel(); - ::WinSetPresParam( m_hWnd ,PP_FOREGROUNDCOLOR ,sizeof(LONG) ,(PVOID)&lColor ); - lColor = (LONG)m_backgroundColour.GetPixel(); + lColor = (LONG)m_backgroundColour.GetPixel(); ::WinSetPresParam( m_hWnd ,PP_BACKGROUNDCOLOR ,sizeof(LONG) ,(PVOID)&lColor ); - SetFont(*wxSMALL_FONT); SetSize( rPos.x ,rPos.y ,rSize.x