X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2193517f1b909b834dc6e314acc3b873dc8196d9..65baafba0e8cd74f2264b7e2f7625ff5bea84864:/contrib/utils/convertrc/wxr2xml.h diff --git a/contrib/utils/convertrc/wxr2xml.h b/contrib/utils/convertrc/wxr2xml.h index dd699e7e2a..a8df9ad27a 100644 --- a/contrib/utils/convertrc/wxr2xml.h +++ b/contrib/utils/convertrc/wxr2xml.h @@ -1,15 +1,19 @@ -// wxr2xml.h: +// wxr2xml.h: // 8/30/00 Brian Gavin ////////////////////////////////////////////////////////////////////// #if !defined(WXR2XML_H) #define WXR2XML_H -#include -#include "wx/resource.h" +#include "wx/ffile.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