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
This commit is contained in:
Robin Dunn
2004-06-30 22:00:45 +00:00
parent 5f89b54341
commit 85fab316d6

View File

@@ -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;