]> git.saurik.com Git - wxWidgets.git/blobdiff - src/xrc/xmlrsall.cpp
extracted check for wxListCtrl in WM_PRINT handler to wxListCtrl itself, base class...
[wxWidgets.git] / src / xrc / xmlrsall.cpp
index d0e8dd7e694b07fd1273ed4c8f559a4d948016b7..33c80ae0cd0c74c747ec1c020befc3b2589e52cf 100644 (file)
@@ -107,7 +107,9 @@ void wxXmlResource::InitAllHandlers()
 #if wxUSE_STATUSBAR
     AddHandler(new wxStatusBarXmlHandler);
 #endif
+#if wxUSE_DATEPICKCTRL
     AddHandler(new wxDateCtrlXmlHandler);
+#endif
 }
 
 #endif // wxUSE_XRC