X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8d598997ef881c925f33c07d9f80f34d9b8b0159..80dcb89812d84f41567a69ff83769b26ab519468:/src/ribbon/panel.cpp?ds=sidebyside diff --git a/src/ribbon/panel.cpp b/src/ribbon/panel.cpp index 0a0f8d8a27..9ad0a56bfa 100644 --- a/src/ribbon/panel.cpp +++ b/src/ribbon/panel.cpp @@ -32,7 +32,7 @@ #include "wx/msw/private.h" #endif -wxDEFINE_EVENT(wxEVT_COMMAND_RIBBONPANEL_EXTBUTTON_ACTIVATED, wxRibbonPanelEvent); +wxDEFINE_EVENT(wxEVT_RIBBONPANEL_EXTBUTTON_ACTIVATED, wxRibbonPanelEvent); IMPLEMENT_DYNAMIC_CLASS(wxRibbonPanelEvent, wxCommandEvent) @@ -776,7 +776,7 @@ void wxRibbonPanel::OnMouseClick(wxMouseEvent& WXUNUSED(evt)) } else if(IsExtButtonHovered()) { - wxRibbonPanelEvent notification(wxEVT_COMMAND_RIBBONPANEL_EXTBUTTON_ACTIVATED, GetId()); + wxRibbonPanelEvent notification(wxEVT_RIBBONPANEL_EXTBUTTON_ACTIVATED, GetId()); notification.SetEventObject(this); notification.SetPanel(this); ProcessEvent(notification);