X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e8a793f06cc0abb9e2433b1fe518c836395c8b49..008a26557841f39519df1eeb3d32b1ea0910e91d:/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_