X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/72cdf4c9b3ce92addf09cfb322f0c19bfb0f8744..f28538c5f6721a8d07445f88fc55818927d9b6b3:/src/common/event.cpp 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;