Fix building tests with wxUSE_XRC==0
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user