]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/textctrl.cpp
DLL build fixes
[wxWidgets.git] / src / gtk / textctrl.cpp
index a16a86876f9cedcb79dfee0c984bae52c9cfdeba..0638f5c1fa9885d1451cfc716e2d6a0235d06ff0 100644 (file)
@@ -448,9 +448,7 @@ gtk_text_changed_callback( GtkWidget *widget, wxTextCtrl *win )
     if ( win->MarkDirtyOnChange() )
         win->MarkDirty();
 
-    wxCommandEvent event( wxEVT_COMMAND_TEXT_UPDATED, win->GetId() );
-    event.SetEventObject( win );
-    win->GetEventHandler()->ProcessEvent( event );
+    win->SendTextUpdatedEvent();
 }
 }