]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/calctrl.cpp
made --cppflags return -DwxUSE_GUI=0 when used with --libs=base
[wxWidgets.git] / src / generic / calctrl.cpp
index e18a64a0314a6d2823ca034c6bb72c81a4b51be9..63e627152071311e0847658ea63abe7eedb17cd7 100644 (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;