X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e8a793f06cc0abb9e2433b1fe518c836395c8b49..8d3223cb32a60bc7fe1d5ab62d682eaa565a50da:/include/wx/xrc/xh_gdctl.h diff --git a/include/wx/xrc/xh_gdctl.h b/include/wx/xrc/xh_gdctl.h index 9fae7b3dca..a62e13858b 100644 --- a/include/wx/xrc/xh_gdctl.h +++ b/include/wx/xrc/xh_gdctl.h @@ -13,17 +13,18 @@ #include "wx/xrc/xmlres.h" -#if wxUSE_DIRDLG +#if wxUSE_XRC && wxUSE_DIRDLG class WXDLLIMPEXP_XRC wxGenericDirCtrlXmlHandler : public wxXmlResourceHandler { -DECLARE_DYNAMIC_CLASS(wxGenericDirCtrlXmlHandler) + DECLARE_DYNAMIC_CLASS(wxGenericDirCtrlXmlHandler) + public: wxGenericDirCtrlXmlHandler(); virtual wxObject *DoCreateResource(); virtual bool CanHandle(wxXmlNode *node); }; -#endif +#endif // wxUSE_XRC && wxUSE_DIRDLG #endif // _WX_XH_GDCTL_H_