]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/xrc/xh_datectrl.h
add support for asynchronous execution in wxBase (patch 1906889)
[wxWidgets.git] / include / wx / xrc / xh_datectrl.h
index fdb2a2c11b7caf5977f4aa5978670c3dd60c50fc..57d554477b763dc1b87c62b047818bbfd674dc7c 100644 (file)
@@ -1,5 +1,5 @@
 /////////////////////////////////////////////////////////////////////////////
-// Name:        xh_datectrl.h
+// Name:        wx/xrc/xh_datectrl.h
 // Purpose:     XML resource handler for wxDatePickerCtrl
 // Author:      Vaclav Slavik
 // Created:     2005-02-07
 
 #include "wx/xrc/xmlres.h"
 
-#if wxUSE_DATEPICKCTRL
+#if wxUSE_XRC && wxUSE_DATEPICKCTRL
 
 class WXDLLIMPEXP_XRC wxDateCtrlXmlHandler : public wxXmlResourceHandler
 {
-DECLARE_DYNAMIC_CLASS(wxDateCtrlXmlHandler)
+    DECLARE_DYNAMIC_CLASS(wxDateCtrlXmlHandler)
+
 public:
     wxDateCtrlXmlHandler();
     virtual wxObject *DoCreateResource();
     virtual bool CanHandle(wxXmlNode *node);
 };
 
-#endif // wxUSE_DATEPICKCTRL
+#endif // wxUSE_XRC && wxUSE_DATEPICKCTRL
 
 #endif // _WX_XH_DATECTRL_H_