Additions and fixes for AUI class interfaces

This commit is contained in:
Robin Dunn
2016-10-27 18:48:52 -07:00
parent 90059c0cf9
commit aaa1a51a59
5 changed files with 368 additions and 4 deletions

View File

@@ -148,6 +148,10 @@ enum wxAuiToolBarToolTextOrientation
class wxAuiToolBarEvent : public wxNotifyEvent
{
public:
wxAuiToolBarEvent(wxEventType commandType = wxEVT_NULL,
int winId = 0);
wxAuiToolBarEvent(const wxAuiToolBarEvent& c);
/**
Returns whether the drop down menu has been clicked.
*/
@@ -167,8 +171,20 @@ public:
Returns the wxAuiToolBarItem identifier.
*/
int GetToolId() const;
void SetDropDownClicked(bool c);
void SetClickPoint(const wxPoint& p);
void SetItemRect(const wxRect& r);
void SetToolId(int toolId);
};
wxEventType wxEVT_AUITOOLBAR_TOOL_DROPDOWN;
wxEventType wxEVT_AUITOOLBAR_OVERFLOW_CLICK;
wxEventType wxEVT_AUITOOLBAR_RIGHT_CLICK;
wxEventType wxEVT_AUITOOLBAR_MIDDLE_CLICK;
wxEventType wxEVT_AUITOOLBAR_BEGIN_DRAG;
/**
@class wxAuiToolBarItem