Fixed a compiling problem with old versions of xerces-c (Reported by Kevin Moore)
This commit is contained in:
parent
42fb8d073a
commit
0cf27535a7
|
@ -878,6 +878,7 @@ MyFrame::MyFrame (
|
||||||
// Initialize Xerces-C++
|
// Initialize Xerces-C++
|
||||||
WrapXerces::Init ( libxmlNetAccess );
|
WrapXerces::Init ( libxmlNetAccess );
|
||||||
|
|
||||||
|
#if _XERCES_VERSION >= 30101
|
||||||
if ( XMLPlatformUtils::fgSSE2ok
|
if ( XMLPlatformUtils::fgSSE2ok
|
||||||
&& xercescSSE2Warning
|
&& xercescSSE2Warning
|
||||||
&& wxTheApp->argc == 1 )
|
&& wxTheApp->argc == 1 )
|
||||||
|
@ -894,6 +895,7 @@ MyFrame::MyFrame (
|
||||||
wxOK | wxCANCEL | wxICON_WARNING
|
wxOK | wxCANCEL | wxICON_WARNING
|
||||||
) == wxOK;
|
) == wxOK;
|
||||||
}
|
}
|
||||||
|
#endif // _XERCES_VERSION >= 30101
|
||||||
|
|
||||||
size_t findFlags = 0;
|
size_t findFlags = 0;
|
||||||
findFlags |= wxFR_DOWN;
|
findFlags |= wxFR_DOWN;
|
||||||
|
|
Loading…
Reference in New Issue