X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/72cdf4c9b3ce92addf09cfb322f0c19bfb0f8744..07cf98cb8eb7625eeffc95e407a9fa1ad863b451:/src/common/event.cpp?ds=sidebyside diff --git a/src/common/event.cpp b/src/common/event.cpp index 32b436d3a9..1b71ae0912 100644 --- a/src/common/event.cpp +++ b/src/common/event.cpp @@ -615,7 +615,7 @@ void wxEvtHandler::AddPendingEvent(wxEvent& event) extern void wxapp_install_idle_handler(); if ( g_isIdle ) wxapp_install_idle_handler(); -#else // this works for wxMSW, but may be for others too? +#elif wxUSE_GUI // this works for wxMSW, but may be for others too? // might also send a dummy message to the top level window, this would // probably be cleaner? wxIdleEvent eventIdle;