]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/cocoa/window.mm
fix incorrect tests of wxUSE_ macros
[wxWidgets.git] / src / osx / cocoa / window.mm
index a70459f79b2393f36a891051cd9757976b1a1206..fd719046798481b46cab114447bf961b219341ad 100644 (file)
@@ -931,7 +931,7 @@ void wxOSX_drawRect(NSView* self, SEL _cmd, NSRect rect)
     if (impl == NULL)
         return;
 
-#ifdef wxUSE_THREADS
+#if wxUSE_THREADS
     // OS X starts a NSUIHeartBeatThread for animating the default button in a
     // dialog. This causes a drawRect of the active dialog from outside the
     // main UI thread. This causes an occasional crash since the wx drawing