diff --git a/src/motif/evtloop.cpp b/src/motif/evtloop.cpp index bcb13876da..d92da8a1eb 100644 --- a/src/motif/evtloop.cpp +++ b/src/motif/evtloop.cpp @@ -162,11 +162,13 @@ bool wxEventLoop::Dispatch() ProcessXEvent( &event ); } else -#ifdef __VMS - XtAppProcessEvent( context, XtIMTimer|XtIMAlternateInput ); -#else - XtAppProcessEvent( context, XtIMTimer|XtIMAlternateInput|XtIMSignal ); + { + XtAppProcessEvent( context, XtIMTimer | XtIMAlternateInput +#ifdef XtIMSignal + | XtIMSignal #endif + ); + } return m_impl ? m_impl->GetKeepGoing() : true; }