]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/thrimpl.cpp
Really fix the problem with caret in wxGrid text editor under MSW.
[wxWidgets.git] / include / wx / thrimpl.cpp
index 0874cd186ca06c8e5cdc2e4a1b27a3e5de6d2ef3..585367d5e98392d54457f56448e9eff35b772dd3 100644 (file)
@@ -76,7 +76,7 @@ wxMutexError wxMutex::Unlock()
 // variables and their events/event semaphores have quite different semantics,
 // so we reimplement the conditions from scratch using the mutexes and
 // semaphores
-#if defined(__WXMSW__) || defined(__OS2__) || defined(__EMX__)
+#if defined(__WINDOWS__) || defined(__OS2__) || defined(__EMX__)
 
 class wxConditionInternal
 {
@@ -223,7 +223,7 @@ wxCondError wxConditionInternal::Broadcast()
     return wxCOND_NO_ERROR;
 }
 
-#endif // MSW or OS2
+#endif // __WINDOWS__ || __OS2__ || __EMX__
 
 // ----------------------------------------------------------------------------
 // wxCondition