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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user