]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/evtloopsrc.h
activating DrawRectangle optimization
[wxWidgets.git] / include / wx / evtloopsrc.h
index dd54b9e4a37ecd604178ea3838c2e5ad9b3ffb94..0a5d7670cb614c739e7213625f21fd717154d9bb 100644 (file)
@@ -89,9 +89,11 @@ inline wxEventLoopSource::~wxEventLoopSource() { }
 
 #if defined(__WXGTK20__)
     #include "wx/gtk/evtloopsrc.h"
 
 #if defined(__WXGTK20__)
     #include "wx/gtk/evtloopsrc.h"
-#elif defined(__WXOSX__)
+#endif
+
+#if defined(__DARWIN__)
     #include "wx/osx/evtloopsrc.h"
     #include "wx/osx/evtloopsrc.h"
-#endif // platform
+#endif
 
 #endif // wxUSE_EVENTLOOP_SOURCE
 
 
 #endif // wxUSE_EVENTLOOP_SOURCE