]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/tbargtk.cpp
splitted wxApp docs in wxApp+wxAppConsole docs; fix the signature of the documented...
[wxWidgets.git] / src / gtk / tbargtk.cpp
index b403ca69d6ae508aca4aa3f48b9a10be97070efd..68b72f8fbc885268637683acce9f0e07d3c366ce 100644 (file)
@@ -278,7 +278,7 @@ static gboolean gtk_toolbar_dropdown_lclick_callback(GtkWidget *widget,
     if (!tool->IsEnabled()) return FALSE;
 
     wxCommandEvent evt(wxEVT_COMMAND_TOOL_DROPDOWN_CLICKED, tool->GetId() );
-    if ( tbar->GetEventHandler()->ProcessEvent(evt) )
+    if ( tbar->HandleWindowEvent(evt) )
     {
         return TRUE;
     }