new wxTreeEvent ctor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39869 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
6eed24bf78
commit
e0c068c0e8
@ -223,6 +223,11 @@ EVT_TREE_ITEM_MENU = wx.PyEventBinder(wxEVT_COMMAND_TREE_ITEM_MENU,
|
||||
}
|
||||
|
||||
|
||||
%{
|
||||
static wxTreeItemId wxNullTreeItemId;
|
||||
%}
|
||||
wxTreeItemId wxNullTreeItemId;
|
||||
|
||||
|
||||
// wxTreeEvent is a special class for all events associated with tree controls
|
||||
//
|
||||
@ -230,7 +235,11 @@ EVT_TREE_ITEM_MENU = wx.PyEventBinder(wxEVT_COMMAND_TREE_ITEM_MENU,
|
||||
// descriptions below
|
||||
class wxTreeEvent : public wxNotifyEvent {
|
||||
public:
|
||||
%nokwargs wxTreeEvent;
|
||||
wxTreeEvent(wxEventType commandType = wxEVT_NULL, int id = 0);
|
||||
wxTreeEvent(wxEventType commandType,
|
||||
wxPyTreeCtrl* tree,
|
||||
wxTreeItemId& item = wxNullTreeItemId);
|
||||
|
||||
// get the item on which the operation was performed or the newly
|
||||
// selected item for wxEVT_COMMAND_TREE_SEL_CHANGED/ING events
|
||||
|
Loading…
Reference in New Issue
Block a user