X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/310e47b3be75a405f709e9fc2f7242ede95758fb..a9e8bf2dd9bccb38eb39fba955125aaf23d6f500:/include/wx/xrc/xh_datectrl.h diff --git a/include/wx/xrc/xh_datectrl.h b/include/wx/xrc/xh_datectrl.h index 5b1fdd0eda..fdb2a2c11b 100644 --- a/include/wx/xrc/xh_datectrl.h +++ b/include/wx/xrc/xh_datectrl.h @@ -11,12 +11,10 @@ #ifndef _WX_XH_DATECTRL_H_ #define _WX_XH_DATECTRL_H_ -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) -#pragma interface "xh_datectrl.h" -#endif - #include "wx/xrc/xmlres.h" +#if wxUSE_DATEPICKCTRL + class WXDLLIMPEXP_XRC wxDateCtrlXmlHandler : public wxXmlResourceHandler { DECLARE_DYNAMIC_CLASS(wxDateCtrlXmlHandler) @@ -26,4 +24,6 @@ public: virtual bool CanHandle(wxXmlNode *node); }; +#endif // wxUSE_DATEPICKCTRL + #endif // _WX_XH_DATECTRL_H_