Fixed a compiling problem with old versions of xerces-c (Reported by Kevin Moore)

This commit is contained in:
Zane U. Ji 2014-07-31 18:24:11 +08:00
parent 42fb8d073a
commit 0cf27535a7
1 changed files with 2 additions and 0 deletions

View File

@ -878,6 +878,7 @@ MyFrame::MyFrame (
// Initialize Xerces-C++
WrapXerces::Init ( libxmlNetAccess );
#if _XERCES_VERSION >= 30101
if ( XMLPlatformUtils::fgSSE2ok
&& xercescSSE2Warning
&& wxTheApp->argc == 1 )
@ -894,6 +895,7 @@ MyFrame::MyFrame (
wxOK | wxCANCEL | wxICON_WARNING
) == wxOK;
}
#endif // _XERCES_VERSION >= 30101
size_t findFlags = 0;
findFlags |= wxFR_DOWN;