]> git.saurik.com Git - wxWidgets.git/blobdiff - src/xrc/xmlrsall.cpp
corrected warnings when compiling with -Wall -W
[wxWidgets.git] / src / xrc / xmlrsall.cpp
index 2e956f6ee824252c06b01fe5f8d85783ef4f4901..b55badc9f93f0f5653edb0b3903913ddf4578391 100644 (file)
@@ -38,7 +38,9 @@ void wxXmlResource::InitAllHandlers()
     AddHandler(new wxStaticBoxXmlHandler);
     AddHandler(new wxStaticBitmapXmlHandler);
     AddHandler(new wxTreeCtrlXmlHandler);
+#if wxUSE_CALENDARCTRL
     AddHandler(new wxCalendarCtrlXmlHandler);
+#endif
     AddHandler(new wxListCtrlXmlHandler);
 #if wxUSE_CHECKLISTBOX
     AddHandler(new wxCheckListXmlHandler);