compilation fix for non-threaded compilation (threads are still broken
anyway!) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5353 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
9bc8fded1b
commit
c6e62f74fc
@ -210,7 +210,11 @@ extern bool g_mainThreadLocked;
|
||||
|
||||
#ifdef __WXDEBUG__
|
||||
|
||||
#define DEBUG_MAIN_THREAD if (wxThread::IsMain() && g_mainThreadLocked) printf("gui reentrance");
|
||||
#if wxUSE_THREADS
|
||||
# define DEBUG_MAIN_THREAD if (wxThread::IsMain() && g_mainThreadLocked) printf("gui reentrance");
|
||||
#else
|
||||
# define DEBUG_MAIN_THREAD
|
||||
#endif
|
||||
|
||||
static gint gtk_debug_focus_in_callback( GtkWidget *WXUNUSED(widget),
|
||||
GdkEvent *WXUNUSED(event),
|
||||
|
@ -210,7 +210,11 @@ extern bool g_mainThreadLocked;
|
||||
|
||||
#ifdef __WXDEBUG__
|
||||
|
||||
#define DEBUG_MAIN_THREAD if (wxThread::IsMain() && g_mainThreadLocked) printf("gui reentrance");
|
||||
#if wxUSE_THREADS
|
||||
# define DEBUG_MAIN_THREAD if (wxThread::IsMain() && g_mainThreadLocked) printf("gui reentrance");
|
||||
#else
|
||||
# define DEBUG_MAIN_THREAD
|
||||
#endif
|
||||
|
||||
static gint gtk_debug_focus_in_callback( GtkWidget *WXUNUSED(widget),
|
||||
GdkEvent *WXUNUSED(event),
|
||||
|
Loading…
Reference in New Issue
Block a user