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:
@@ -312,7 +312,11 @@ bool wxCalendarCtrl::Create(wxWindow *parent,
|
|||||||
// above it
|
// above it
|
||||||
SetBestSize(size);
|
SetBestSize(size);
|
||||||
SetPosition(pos);
|
SetPosition(pos);
|
||||||
|
|
||||||
|
// Since we don't paint the whole background make sure that the platform
|
||||||
|
// will use the right one.
|
||||||
|
SetBackgroundColour(GetBackgroundColour());
|
||||||
|
|
||||||
SetHolidayAttrs();
|
SetHolidayAttrs();
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
Reference in New Issue
Block a user