From 85fab316d678c5907ca4a64697366c735cdbd976 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Wed, 30 Jun 2004 22:00:45 +0000 Subject: [PATCH] Need to ensure that the right background is explicitly set. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28114 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/generic/calctrl.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/generic/calctrl.cpp b/src/generic/calctrl.cpp index e18a64a031..63e6271520 100644 --- a/src/generic/calctrl.cpp +++ b/src/generic/calctrl.cpp @@ -312,7 +312,11 @@ bool wxCalendarCtrl::Create(wxWindow *parent, // above it SetBestSize(size); SetPosition(pos); - + + // Since we don't paint the whole background make sure that the platform + // will use the right one. + SetBackgroundColour(GetBackgroundColour()); + SetHolidayAttrs(); return true; -- 2.50.0