X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3c299c3ab663257429983c24e6fb71450f3cf9f1..0fe1f685b4d05fefd042ebb4a88bb8789ed237c2:/src/os2/statbox.cpp 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