-// wxr2xml.h:
+// wxr2xml.h:
// 8/30/00 Brian Gavin
//////////////////////////////////////////////////////////////////////
#define WXR2XML_H
#include <wx/ffile.h>
-#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);
wxFFile m_xmlfile;
};
-#endif
+#endif