]> git.saurik.com Git - wxWidgets.git/commitdiff
Connect focus_out_event handler before the default handler, as to suppress queue_draw...
authorMart Raudsepp <leio@gentoo.org>
Wed, 15 Feb 2006 20:09:10 +0000 (20:09 +0000)
committerMart Raudsepp <leio@gentoo.org>
Wed, 15 Feb 2006 20:09:10 +0000 (20:09 +0000)
default one does.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37609 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/gtk/window.cpp

index 0138ad5c26c373d4e999e1437930a6c7638537de..3022f24bb1a6c92afd0444468f8995e4fb47c984 100644 (file)
@@ -2750,8 +2750,8 @@ void wxWindowGTK::PostCreation()
 
         g_signal_connect (m_focusWidget, "focus_in_event",
                           G_CALLBACK (gtk_window_focus_in_callback), this);
-        g_signal_connect_after (m_focusWidget, "focus_out_event",
-                                G_CALLBACK (gtk_window_focus_out_callback), this);
+        g_signal_connect (m_focusWidget, "focus_out_event",
+                          G_CALLBACK (gtk_window_focus_out_callback), this);
     }
 
     // connect to the various key and mouse handlers