]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/checkbox.cpp
removed obsolete files and added missing ones
[wxWidgets.git] / src / os2 / checkbox.cpp
index b98fff55896ec6b15cb43d84d9aa5594e33601d6..9f5c9663b8cb7abbf8e75823b9e14e6c1a588e5d 100644 (file)
@@ -82,6 +82,14 @@ bool wxCheckBox::Create(wxWindow *parent, wxWindowID id, const wxString& label,
     // Subclass again for purposes of dialog editing mode
     SubclassWin(m_hWnd);
 
+    LONG                            lColor = (LONG)m_backgroundColour.GetPixel();
+
+    ::WinSetPresParam( m_hWnd
+                      ,PP_BACKGROUNDCOLOR
+                      ,sizeof(LONG)
+                      ,(PVOID)&lColor
+                     );
+
     SetFont(parent->GetFont());
 
     SetSize(x, y, width, height);