diff --git a/src/common/evtloopcmn.cpp b/src/common/evtloopcmn.cpp index 71939e27b2..5cdd254975 100644 --- a/src/common/evtloopcmn.cpp +++ b/src/common/evtloopcmn.cpp @@ -32,6 +32,9 @@ wxEventLoop *wxEventLoopBase::ms_activeLoop = NULL; +// wxEventLoopManual is unused in the other ports +#if defined(__WXMSW__) || defined(__WXMAC__) + // ============================================================================ // wxEventLoopManual implementation // ============================================================================ @@ -145,3 +148,5 @@ void wxEventLoopManual::Exit(int rc) WakeUp(); } +#endif // __WXMSW__ || __WXMAC__ +