X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/dc4769eb08b6d181f9a8c2ccc46cd10dd95c0ebc..053dcf1a77e5ab817df646e814a21755cf664891:/src/gtk/window.cpp diff --git a/src/gtk/window.cpp b/src/gtk/window.cpp index 50d64dbc91..03061a90c8 100644 --- a/src/gtk/window.cpp +++ b/src/gtk/window.cpp @@ -145,16 +145,15 @@ static gint gtk_debug_focus_in_callback( GtkWidget *WXUNUSED(widget), GdkEvent *WXUNUSED(event), const wxChar *name ) { - // to enable logging of the focus events replace 0 with 1 -#if 0 +/* static bool s_done = FALSE; if ( !s_done ) { wxLog::AddTraceMask("focus"); s_done = TRUE; } -#endif wxLogTrace(_T("FOCUS NOW AT: %s"), name); +*/ return FALSE; } @@ -656,7 +655,6 @@ static gint gtk_window_button_press_callback( GtkWidget *widget, GdkEventButton wxPrintf( win->GetClassInfo()->GetClassName() ); wxPrintf( _T(".\n") ); */ - if (!win->m_hasVMT) return FALSE; if (g_blockEventsOnDrag) return TRUE; if (g_blockEventsOnScroll) return TRUE;