]> git.saurik.com Git - wxWidgets.git/commitdiff
Correct background colour in ComboCtrl (from Jaako).
authorRobert Roebling <robert@roebling.de>
Sat, 28 Oct 2006 22:07:38 +0000 (22:07 +0000)
committerRobert Roebling <robert@roebling.de>
Sat, 28 Oct 2006 22:07:38 +0000 (22:07 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42592 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/combocmn.cpp

index 7e53044b3e0c46116a80f336c0c35f21b0711570..b09c6965b7895a0513c70dd6bd1366d6b322c317 100644 (file)
@@ -838,7 +838,7 @@ wxComboCtrlBase::CreateTextCtrl(int style, const wxValidator& validator)
 
 void wxComboCtrlBase::OnThemeChange()
 {
-    SetBackgroundColour(wxSystemSettings::GetColour(wxSYS_COLOUR_WINDOW));
+    SetOwnBackgroundColour(wxSystemSettings::GetColour(wxSYS_COLOUR_WINDOW));
 }
 
 wxComboCtrlBase::~wxComboCtrlBase()