Fix building tests with wxUSE_XRC==0

This commit is contained in:
Paul Cornett
2017-10-01 09:46:03 -07:00
parent a87599b127
commit 7816ca6538
2 changed files with 7 additions and 0 deletions

View File

@@ -20,6 +20,8 @@
#include "wx/wx.h"
#endif // WX_PRECOMP
#if wxUSE_XRC
#include "wx/xml/xml.h"
#include "wx/sstream.h"
#include "wx/wfstream.h"
@@ -226,3 +228,5 @@ void XrcTestCase::IDRanges()
CPPUNIT_ASSERT( wxXmlResource::Get()->Unload(TEST_XRC_FILE) );
}
}
#endif // wxUSE_XRC