Fix typos and missing items in the ribbon interface definitions

This commit is contained in:
Robin Dunn
2016-06-21 14:07:56 -07:00
parent acf7068995
commit e93f6dbc0b
7 changed files with 91 additions and 3 deletions

View File

@@ -5,6 +5,7 @@
// Licence: wxWindows licence
///////////////////////////////////////////////////////////////////////////////
/**
@class wxRibbonToolBar
@@ -492,3 +493,20 @@ public:
*/
virtual void ToggleTool(int tool_id, bool checked);
};
class wxRibbonToolBarEvent : public wxCommandEvent
{
public:
wxRibbonToolBarEvent(wxEventType command_type = wxEVT_NULL,
int win_id = 0,
wxRibbonToolBar* bar = NULL);
wxRibbonToolBar* GetBar();
void SetBar(wxRibbonToolBar* bar);
bool PopupMenu(wxMenu* menu);
};
wxEventType wxEVT_RIBBONTOOLBAR_CLICKED;
wxEventType wxEVT_RIBBONTOOLBAR_DROPDOWN_CLICKED;