Don't do a #ifdef inside a macro expansion, MSVC doesn't like it.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71605 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2012-05-30 06:37:38 +00:00
parent 787cfb858e
commit 71da9bea83

View File

@@ -231,7 +231,8 @@ void wxPyApp::_BootstrapApp()
// wxApp takes ownership of the argv array, don't delete it here
if (! result) {
wxPyErr_SetString(PyExc_SystemError,
wxPyThreadBlocker blocker;
PyErr_SetString(PyExc_SystemError,
"wxEntryStart failed, unable to initialize wxWidgets!"
#ifdef __WXGTK__
" (Is DISPLAY set properly?)"