mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-04 19:10:09 +01:00
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:
@@ -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?)"
|
||||
|
||||
Reference in New Issue
Block a user