Fix building tests with wxUSE_XRC==0
This commit is contained in:
@@ -18,6 +18,7 @@
|
||||
|
||||
#include "wx/filename.h"
|
||||
#include "wx/image.h"
|
||||
#include "wx/icon.h"
|
||||
#include "wx/animate.h"
|
||||
#include "wx/mstream.h"
|
||||
#include "wx/dynlib.h"
|
||||
@@ -161,7 +162,9 @@ void GarbageTestCase::DoLoadFile(const wxString& fullname)
|
||||
delete htmlwin;
|
||||
*/
|
||||
// test wxXmlResource
|
||||
#if wxUSE_XRC
|
||||
CPPUNIT_ASSERT( wxXmlResource::Get()->Load(fullname) == false );
|
||||
#endif
|
||||
}
|
||||
|
||||
void GarbageTestCase::DoLoadStream(wxInputStream& stream)
|
||||
|
Reference in New Issue
Block a user