#ifndef _WX_EVTLOOPSRC_H_
#define _WX_EVTLOOPSRC_H_
+// Include the header to get wxUSE_EVENTLOOP_SOURCE definition from it.
+#include "wx/evtloop.h"
+
// ----------------------------------------------------------------------------
// wxEventLoopSource: a source of events which may be added to wxEventLoop
// ----------------------------------------------------------------------------
#if defined(__WXGTK20__)
#include "wx/gtk/evtloopsrc.h"
-#elif defined(__WXOSX__)
+#endif
+
+#if defined(__DARWIN__)
#include "wx/osx/evtloopsrc.h"
-#endif // platform
+#endif
#endif // wxUSE_EVENTLOOP_SOURCE