void wxRibbonPanel::OnMouseClick(wxMouseEvent& WXUNUSED(evt)) { if(IsMinimised()) { if(m_expanded_panel != NULL) { HideExpanded(); } else { ShowExpanded(); } } }
void wxRibbonPanel::OnMouseClick(wxMouseEvent& WXUNUSED(evt)) { if(IsMinimised()) { if(m_expanded_panel != NULL) { HideExpanded(); } else { ShowExpanded(); } } else if(IsExtButtonHovered()) { wxRibbonPanelEvent notification(wxEVT_RIBBONPANEL_EXTBUTTON_ACTIVATED, GetId()); notification.SetEventObject(this); notification.SetPanel(this); ProcessEvent(notification); } }