]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/statbox.cpp
tried to make wxArrayString(bool autosort) ctor more explicit, e.g. prevent it from...
[wxWidgets.git] / src / os2 / statbox.cpp
index 16a28e6c60194eb9be24a1d9bb644c1fb2ae3fc1..792a6fd3042297cc472d9e3dc57816703eaebaaa 100644 (file)
@@ -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