X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e8a793f06cc0abb9e2433b1fe518c836395c8b49..3b8b8024a01220cc4c72b69ac16c6e606f260b74:/include/wx/xrc/xh_dlg.h diff --git a/include/wx/xrc/xh_dlg.h b/include/wx/xrc/xh_dlg.h index 014db51a8d..42d6d4aeab 100644 --- a/include/wx/xrc/xh_dlg.h +++ b/include/wx/xrc/xh_dlg.h @@ -13,14 +13,18 @@ #include "wx/xrc/xmlres.h" +#if wxUSE_XRC + class WXDLLIMPEXP_XRC wxDialogXmlHandler : public wxXmlResourceHandler { -DECLARE_DYNAMIC_CLASS(wxDialogXmlHandler) + DECLARE_DYNAMIC_CLASS(wxDialogXmlHandler) + public: wxDialogXmlHandler(); virtual wxObject *DoCreateResource(); virtual bool CanHandle(wxXmlNode *node); }; +#endif // wxUSE_XRC #endif // _WX_XH_DLG_H_