X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5f89b54341d5b81fec29a9524eba02f659e14260..06fe86b734e64b5cb0da19a013352ef7530a14bc:/src/generic/calctrl.cpp 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;