fix incorrect tests of wxUSE_ macros

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70843 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Paul Cornett
2012-03-08 16:45:17 +00:00
parent 6fc8ad6d53
commit 32b183b578
4 changed files with 2 additions and 6 deletions

View 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