X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2193517f1b909b834dc6e314acc3b873dc8196d9..cc3388ae63420668587b30ba4fd33b71565fe27a:/contrib/utils/convertrc/wxr2xml.h?ds=sidebyside diff --git a/contrib/utils/convertrc/wxr2xml.h b/contrib/utils/convertrc/wxr2xml.h index dd699e7e2a..16560500e3 100644 --- a/contrib/utils/convertrc/wxr2xml.h +++ b/contrib/utils/convertrc/wxr2xml.h @@ -1,4 +1,4 @@ -// wxr2xml.h: +// wxr2xml.h: // 8/30/00 Brian Gavin ////////////////////////////////////////////////////////////////////// @@ -6,10 +6,14 @@ #define WXR2XML_H #include -#include "wx/resource.h" +#include "wx/deprecated/setup.h" +#include "wx/deprecated/resource.h" +#if !wxUSE_WX_RESOURCES +#error "convertc requires wxUSE_WX_RESOURCES" +#endif // wxUSE_WX_RESOURCES -class wxr2xml : public wxObject +class wxr2xml : public wxObject { public: bool Convert(wxString wxrfile,wxString xmlfile); @@ -71,4 +75,4 @@ protected: wxFFile m_xmlfile; }; -#endif +#endif