]> git.saurik.com Git - wxWidgets.git/commitdiff
Don't send a focus event if the window is a wxTextCtrl, since it sends
authorRobin Dunn <robin@alldunn.com>
Thu, 2 Aug 2001 03:06:24 +0000 (03:06 +0000)
committerRobin Dunn <robin@alldunn.com>
Thu, 2 Aug 2001 03:06:24 +0000 (03:06 +0000)
it's own focus event later on.

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

src/gtk/textctrl.cpp
src/gtk1/textctrl.cpp

index 526f5227c6e9129640116ef46ba50db81445884e..ba3c070bb9b9b529a734bfdccd8d52210d65bd92 100644 (file)
@@ -124,7 +124,6 @@ static gint gtk_text_focus_in_callback( GtkWidget *widget, GdkEvent *WXUNUSED(ev
 
     if (win->GetEventHandler()->ProcessEvent( event ))
     {
-        gtk_signal_emit_stop_by_name( GTK_OBJECT(widget), "focus_in_event" );
         return TRUE;
     }
 
@@ -179,7 +178,6 @@ static gint gtk_text_focus_out_callback( GtkWidget *widget, GdkEvent *WXUNUSED(e
 
     if (win->GetEventHandler()->ProcessEvent( event ))
     {
-        gtk_signal_emit_stop_by_name( GTK_OBJECT(widget), "focus_out_event" );
         return TRUE;
     }
 
index 526f5227c6e9129640116ef46ba50db81445884e..ba3c070bb9b9b529a734bfdccd8d52210d65bd92 100644 (file)
@@ -124,7 +124,6 @@ static gint gtk_text_focus_in_callback( GtkWidget *widget, GdkEvent *WXUNUSED(ev
 
     if (win->GetEventHandler()->ProcessEvent( event ))
     {
-        gtk_signal_emit_stop_by_name( GTK_OBJECT(widget), "focus_in_event" );
         return TRUE;
     }
 
@@ -179,7 +178,6 @@ static gint gtk_text_focus_out_callback( GtkWidget *widget, GdkEvent *WXUNUSED(e
 
     if (win->GetEventHandler()->ProcessEvent( event ))
     {
-        gtk_signal_emit_stop_by_name( GTK_OBJECT(widget), "focus_out_event" );
         return TRUE;
     }