]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/toolbar.cpp
forgot to commit ...
[wxWidgets.git] / src / gtk / toolbar.cpp
index ee5749277c8b31be3636f321e07a638d56fbce20..8d82ebc8b2ed2369520e77b97017df940d9e14c9 100644 (file)
@@ -298,7 +298,7 @@ void wxToolBarTool::CreateDropDown()
 void wxToolBarTool::ShowDropdown(GtkToggleButton* button)
 {
     wxToolBarBase* toolbar = GetToolBar();
-    wxCommandEvent event(wxEVT_COMMAND_TOOL_DROPDOWN_CLICKED, GetId());
+    wxCommandEvent event(wxEVT_TOOL_DROPDOWN, GetId());
     if (!toolbar->HandleWindowEvent(event))
     {
         wxMenu* menu = GetDropdownMenu();