X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3c299c3ab663257429983c24e6fb71450f3cf9f1..844a4451f694840694663dd283c3bed3a3d81947:/src/os2/statbox.cpp?ds=sidebyside diff --git a/src/os2/statbox.cpp b/src/os2/statbox.cpp index 16a28e6c60..792a6fd304 100644 --- a/src/os2/statbox.cpp +++ b/src/os2/statbox.cpp @@ -72,6 +72,13 @@ bool wxStaticBox::Create( ,sizeof(LONG) ,(PVOID)&lColor ); + lColor = (LONG)m_backgroundColour.GetPixel(); + + ::WinSetPresParam( m_hWnd + ,PP_BACKGROUNDCOLOR + ,sizeof(LONG) + ,(PVOID)&lColor + ); SetFont(pParent->GetFont()); SetSize( rPos.x ,rPos.y