Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Event type aliases (wxEVT_XXXX for wxEVT_COMMAND_XXXX) #51

Merged
merged 2 commits into from
Dec 22, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions wxLua/bindings/wxwidgets/wxadv_adv.i
Original file line number Diff line number Diff line change
Expand Up @@ -366,6 +366,7 @@ class wxHyperlinkCtrl : public wxControl
class %delete wxHyperlinkEvent : public wxCommandEvent
{
%wxEventType wxEVT_COMMAND_HYPERLINK // EVT_HYPERLINK(id, fn);
%wxchkver_3_0_0 %wxEventType wxEVT_HYPERLINK // wx3.0 alias for wxEVT_COMMAND_HYPERLINK

//wxHyperlinkEvent();
wxHyperlinkEvent(wxObject *generator, wxWindowID id, const wxString& url);
Expand Down
23 changes: 23 additions & 0 deletions wxLua/bindings/wxwidgets/wxaui_aui.i
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,12 @@ class wxAuiToolBarEvent : public wxNotifyEvent
%wxEventType wxEVT_COMMAND_AUITOOLBAR_MIDDLE_CLICK // EVT_AUITOOLBAR_MIDDLE_CLICK(winid, fn)
%wxEventType wxEVT_COMMAND_AUITOOLBAR_BEGIN_DRAG // EVT_AUITOOLBAR_BEGIN_DRAG(winid, fn)

%wxchkver_3_0_0 %wxEventType wxEVT_AUITOOLBAR_TOOL_DROPDOWN // wx3.0 alias for wxEVT_COMMAND_AUITOOLBAR_TOOL_DROPDOWN
%wxchkver_3_0_0 %wxEventType wxEVT_AUITOOLBAR_OVERFLOW_CLICK // wx3.0 alias for wxEVT_COMMAND_AUITOOLBAR_OVERFLOW_CLICK
%wxchkver_3_0_0 %wxEventType wxEVT_AUITOOLBAR_RIGHT_CLICK // wx3.0 alias for wxEVT_COMMAND_AUITOOLBAR_RIGHT_CLICK
%wxchkver_3_0_0 %wxEventType wxEVT_AUITOOLBAR_MIDDLE_CLICK // wx3.0 alias for wxEVT_COMMAND_AUITOOLBAR_MIDDLE_CLICK
%wxchkver_3_0_0 %wxEventType wxEVT_AUITOOLBAR_BEGIN_DRAG // wx3.0 alias for wxEVT_COMMAND_AUITOOLBAR_BEGIN_DRAG

wxAuiToolBarEvent(wxEventType command_type = wxEVT_NULL, int win_id = 0);
wxAuiToolBarEvent(const wxAuiToolBarEvent& c);

Expand Down Expand Up @@ -296,6 +302,15 @@ class %delete wxAuiNotebookEvent : public wxNotifyEvent
%wxEventType wxEVT_COMMAND_AUINOTEBOOK_DRAG_MOTION // EVT_AUINOTEBOOK_DRAG_MOTION(winid, fn);
%wxEventType wxEVT_COMMAND_AUINOTEBOOK_ALLOW_DND // EVT_AUINOTEBOOK_ALLOW_DND(winid, fn);

%wxchkver_3_0_0 %wxEventType wxEVT_AUINOTEBOOK_PAGE_CLOSE // wx3.0 alias for wxEVT_COMMAND_AUINOTEBOOK_PAGE_CLOSE
%wxchkver_3_0_0 %wxEventType wxEVT_AUINOTEBOOK_PAGE_CHANGED // wx3.0 alias for wxEVT_COMMAND_AUINOTEBOOK_PAGE_CHANGED
%wxchkver_3_0_0 %wxEventType wxEVT_AUINOTEBOOK_PAGE_CHANGING // wx3.0 alias for wxEVT_COMMAND_AUINOTEBOOK_PAGE_CHANGING
%wxchkver_3_0_0 %wxEventType wxEVT_AUINOTEBOOK_BUTTON // wx3.0 alias for wxEVT_COMMAND_AUINOTEBOOK_BUTTON
%wxchkver_3_0_0 %wxEventType wxEVT_AUINOTEBOOK_BEGIN_DRAG // wx3.0 alias for wxEVT_COMMAND_AUINOTEBOOK_BEGIN_DRAG
%wxchkver_3_0_0 %wxEventType wxEVT_AUINOTEBOOK_END_DRAG // wx3.0 alias for wxEVT_COMMAND_AUINOTEBOOK_END_DRAG
%wxchkver_3_0_0 %wxEventType wxEVT_AUINOTEBOOK_DRAG_MOTION // wx3.0 alias for wxEVT_COMMAND_AUINOTEBOOK_DRAG_MOTION
%wxchkver_3_0_0 %wxEventType wxEVT_AUINOTEBOOK_ALLOW_DND // wx3.0 alias for wxEVT_COMMAND_AUINOTEBOOK_ALLOW_DND

#if %wxchkver_2_8_5
%wxEventType wxEVT_COMMAND_AUINOTEBOOK_TAB_MIDDLE_DOWN // EVT_AUINOTEBOOK_TAB_MIDDLE_DOWN(winid, fn);
%wxEventType wxEVT_COMMAND_AUINOTEBOOK_TAB_MIDDLE_UP // EVT_AUINOTEBOOK_TAB_MIDDLE_UP(winid, fn);
Expand All @@ -306,6 +321,14 @@ class %delete wxAuiNotebookEvent : public wxNotifyEvent
%wxEventType wxEVT_COMMAND_AUINOTEBOOK_BG_DCLICK // EVT_AUINOTEBOOK_BG_DCLICK(winid, fn);
#endif //%wxchkver_2_8_5

%wxchkver_3_0_0 %wxEventType wxEVT_AUINOTEBOOK_TAB_MIDDLE_DOWN // wx3.0 alias for wxEVT_COMMAND_AUINOTEBOOK_TAB_MIDDLE_DOWN
%wxchkver_3_0_0 %wxEventType wxEVT_AUINOTEBOOK_TAB_MIDDLE_UP // wx3.0 alias for wxEVT_COMMAND_AUINOTEBOOK_TAB_MIDDLE_UP
%wxchkver_3_0_0 %wxEventType wxEVT_AUINOTEBOOK_TAB_RIGHT_DOWN // wx3.0 alias for wxEVT_COMMAND_AUINOTEBOOK_TAB_RIGHT_DOWN
%wxchkver_3_0_0 %wxEventType wxEVT_AUINOTEBOOK_TAB_RIGHT_UP // wx3.0 alias for wxEVT_COMMAND_AUINOTEBOOK_TAB_RIGHT_UP
%wxchkver_3_0_0 %wxEventType wxEVT_AUINOTEBOOK_PAGE_CLOSED // wx3.0 alias for wxEVT_COMMAND_AUINOTEBOOK_PAGE_CLOSED
%wxchkver_3_0_0 %wxEventType wxEVT_AUINOTEBOOK_DRAG_DONE // wx3.0 alias for wxEVT_COMMAND_AUINOTEBOOK_DRAG_DONE
%wxchkver_3_0_0 %wxEventType wxEVT_AUINOTEBOOK_BG_DCLICK // wx3.0 alias for wxEVT_COMMAND_AUINOTEBOOK_BG_DCLICK

wxAuiNotebookEvent(wxEventType command_type = wxEVT_NULL, int win_id = 0);
wxAuiNotebookEvent(const wxAuiNotebookEvent& c);

Expand Down
3 changes: 3 additions & 0 deletions wxLua/bindings/wxwidgets/wxcore_clipdrag.i
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@ class %delete wxClipboardTextEvent : public wxCommandEvent
%wxEventType wxEVT_COMMAND_TEXT_COPY // EVT_TEXT_COPY(winid, func);
%wxEventType wxEVT_COMMAND_TEXT_CUT // EVT_TEXT_CUT(winid, func);
%wxEventType wxEVT_COMMAND_TEXT_PASTE // EVT_TEXT_PASTE(winid, func);
%wxchkver_3_0_0 %wxEventType wxEVT_TEXT_COPY // wx3.0 alias for wxEVT_COMMAND_TEXT_COPY
%wxchkver_3_0_0 %wxEventType wxEVT_TEXT_CUT // wx3.0 alias for wxEVT_COMMAND_TEXT_CUT
%wxchkver_3_0_0 %wxEventType wxEVT_TEXT_PASTE // wx3.0 alias for wxEVT_COMMAND_TEXT_PASTE

wxClipboardTextEvent(wxEventType type = wxEVT_NULL, wxWindowID winid = 0);
};
Expand Down
44 changes: 44 additions & 0 deletions wxLua/bindings/wxwidgets/wxcore_controls.i
Original file line number Diff line number Diff line change
Expand Up @@ -663,6 +663,27 @@ class %delete wxListEvent : public wxNotifyEvent
%wxEventType wxEVT_COMMAND_LIST_COL_END_DRAG // EVT_LIST_COL_END_DRAG(id, fn);
%wxEventType wxEVT_COMMAND_LIST_ITEM_FOCUSED // EVT_LIST_ITEM_FOCUSED(id, fn);

%wxchkver_3_0_0 %wxEventType wxEVT_LIST_BEGIN_DRAG // wx3.0 alias for wxEVT_COMMAND_LIST_BEGIN_DRAG
%wxchkver_3_0_0 %wxEventType wxEVT_LIST_BEGIN_RDRAG // wx3.0 alias for wxEVT_COMMAND_LIST_BEGIN_RDRAG
%wxchkver_3_0_0 %wxEventType wxEVT_LIST_BEGIN_LABEL_EDIT // wx3.0 alias for wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
%wxchkver_3_0_0 %wxEventType wxEVT_LIST_COL_CLICK // wx3.0 alias for wxEVT_COMMAND_LIST_COL_CLICK
%wxchkver_3_0_0 %wxEventType wxEVT_LIST_DELETE_ALL_ITEMS // wx3.0 alias for wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
%wxchkver_3_0_0 %wxEventType wxEVT_LIST_DELETE_ITEM // wx3.0 alias for wxEVT_COMMAND_LIST_DELETE_ITEM
%wxchkver_3_0_0 %wxEventType wxEVT_LIST_END_LABEL_EDIT // wx3.0 alias for wxEVT_COMMAND_LIST_END_LABEL_EDIT
%wxchkver_3_0_0 %wxEventType wxEVT_LIST_INSERT_ITEM // wx3.0 alias for wxEVT_COMMAND_LIST_INSERT_ITEM
%wxchkver_3_0_0 %wxEventType wxEVT_LIST_ITEM_ACTIVATED // wx3.0 alias for wxEVT_COMMAND_LIST_ITEM_ACTIVATED
%wxchkver_3_0_0 %wxEventType wxEVT_LIST_ITEM_DESELECTED // wx3.0 alias for wxEVT_COMMAND_LIST_ITEM_DESELECTED
%wxchkver_3_0_0 %wxEventType wxEVT_LIST_ITEM_SELECTED // wx3.0 alias for wxEVT_COMMAND_LIST_ITEM_SELECTED
%wxchkver_3_0_0 %wxEventType wxEVT_LIST_KEY_DOWN // wx3.0 alias for wxEVT_COMMAND_LIST_KEY_DOWN
%wxchkver_3_0_0 %wxEventType wxEVT_LIST_CACHE_HINT // wx3.0 alias for wxEVT_COMMAND_LIST_CACHE_HINT
%wxchkver_3_0_0 %wxEventType wxEVT_LIST_COL_RIGHT_CLICK // wx3.0 alias for wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
%wxchkver_3_0_0 %wxEventType wxEVT_LIST_COL_BEGIN_DRAG // wx3.0 alias for wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
%wxchkver_3_0_0 %wxEventType wxEVT_LIST_COL_DRAGGING // wx3.0 alias for wxEVT_COMMAND_LIST_COL_DRAGGING
%wxchkver_3_0_0 %wxEventType wxEVT_LIST_COL_END_DRAG // wx3.0 alias for wxEVT_COMMAND_LIST_COL_END_DRAG
%wxchkver_3_0_0 %wxEventType wxEVT_LIST_ITEM_FOCUSED // wx3.0 alias for wxEVT_COMMAND_LIST_ITEM_FOCUSED
%wxchkver_3_0_0 %wxEventType wxEVT_LIST_ITEM_MIDDLE_CLICK // wx3.0 alias for wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
%wxchkver_3_0_0 %wxEventType wxEVT_LIST_ITEM_RIGHT_CLICK // wx3.0 alias for wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK

wxListEvent(wxEventType commandType = 0, int id = 0);

//long GetCacheFrom() const; // - only useful for virtual controls
Expand Down Expand Up @@ -1168,6 +1189,7 @@ class %delete wxTextAttr
class %delete wxTextUrlEvent : public wxCommandEvent
{
%wxchkver_2_8_0 %wxEventType wxEVT_COMMAND_TEXT_URL // EVT_TEXT_URL(id, fn);
%wxchkver_3_0_0 %wxEventType wxEVT_TEXT_URL // wx3.0 alias for wxEVT_COMMAND_TEXT_URL

wxTextUrlEvent(int winid, const wxMouseEvent& evtMouse, long start, long end);

Expand Down Expand Up @@ -1462,6 +1484,28 @@ class %delete wxTreeEvent : public wxNotifyEvent
%wxEventType wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK // EVT_TREE_STATE_IMAGE_CLICK(id, fn);
%wxEventType wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP // EVT_TREE_ITEM_GETTOOLTIP(id, fn);

%wxchkver_3_0_0 %wxEventType wxEVT_TREE_BEGIN_DRAG // wx3.0 alias for wxEVT_COMMAND_TREE_BEGIN_DRAG
%wxchkver_3_0_0 %wxEventType wxEVT_TREE_BEGIN_LABEL_EDIT // wx3.0 alias for wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
%wxchkver_3_0_0 %wxEventType wxEVT_TREE_BEGIN_RDRAG // wx3.0 alias for wxEVT_COMMAND_TREE_BEGIN_RDRAG
%wxchkver_3_0_0 %wxEventType wxEVT_TREE_DELETE_ITEM // wx3.0 alias for wxEVT_COMMAND_TREE_DELETE_ITEM
%wxchkver_3_0_0 %wxEventType wxEVT_TREE_END_DRAG // wx3.0 alias for wxEVT_COMMAND_TREE_END_DRAG
%wxchkver_3_0_0 %wxEventType wxEVT_TREE_END_LABEL_EDIT // wx3.0 alias for wxEVT_COMMAND_TREE_END_LABEL_EDIT
%wxchkver_3_0_0 %wxEventType wxEVT_TREE_GET_INFO // wx3.0 alias for wxEVT_COMMAND_TREE_GET_INFO
%wxchkver_3_0_0 %wxEventType wxEVT_TREE_ITEM_ACTIVATED // wx3.0 alias for wxEVT_COMMAND_TREE_ITEM_ACTIVATED
%wxchkver_3_0_0 %wxEventType wxEVT_TREE_ITEM_COLLAPSED // wx3.0 alias for wxEVT_COMMAND_TREE_ITEM_COLLAPSED
%wxchkver_3_0_0 %wxEventType wxEVT_TREE_ITEM_COLLAPSING // wx3.0 alias for wxEVT_COMMAND_TREE_ITEM_COLLAPSING
%wxchkver_3_0_0 %wxEventType wxEVT_TREE_ITEM_EXPANDED // wx3.0 alias for wxEVT_COMMAND_TREE_ITEM_EXPANDED
%wxchkver_3_0_0 %wxEventType wxEVT_TREE_ITEM_EXPANDING // wx3.0 alias for wxEVT_COMMAND_TREE_ITEM_EXPANDING
%wxchkver_3_0_0 %wxEventType wxEVT_TREE_ITEM_MIDDLE_CLICK // wx3.0 alias for wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
%wxchkver_3_0_0 %wxEventType wxEVT_TREE_ITEM_RIGHT_CLICK // wx3.0 alias for wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
%wxchkver_3_0_0 %wxEventType wxEVT_TREE_KEY_DOWN // wx3.0 alias for wxEVT_COMMAND_TREE_KEY_DOWN
%wxchkver_3_0_0 %wxEventType wxEVT_TREE_SEL_CHANGED // wx3.0 alias for wxEVT_COMMAND_TREE_SEL_CHANGED
%wxchkver_3_0_0 %wxEventType wxEVT_TREE_SEL_CHANGING // wx3.0 alias for wxEVT_COMMAND_TREE_SEL_CHANGING
%wxchkver_3_0_0 %wxEventType wxEVT_TREE_SET_INFO // wx3.0 alias for wxEVT_COMMAND_TREE_SET_INFO
%wxchkver_3_0_0 %wxEventType wxEVT_TREE_ITEM_MENU // wx3.0 alias for wxEVT_COMMAND_TREE_ITEM_MENU
%wxchkver_3_0_0 %wxEventType wxEVT_TREE_STATE_IMAGE_CLICK // wx3.0 alias for wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
%wxchkver_3_0_0 %wxEventType wxEVT_TREE_ITEM_GETTOOLTIP // wx3.0 alias for wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP

wxTreeEvent(wxEventType commandType = wxEVT_NULL, int id = 0);

int GetKeyCode() const;
Expand Down
6 changes: 6 additions & 0 deletions wxLua/bindings/wxwidgets/wxcore_dialogs.i
Original file line number Diff line number Diff line change
Expand Up @@ -442,6 +442,12 @@ class %delete wxFindDialogEvent : public wxCommandEvent
%wxEventType wxEVT_COMMAND_FIND_REPLACE_ALL // EVT_FIND_REPLACE_ALL(id, fn);
%wxEventType wxEVT_COMMAND_FIND_CLOSE // EVT_FIND_CLOSE(id, fn);

%wxchkver_3_0_0 %wxEventType wxEVT_FIND // wx3.0 alias for wxEVT_COMMAND_FIND
%wxchkver_3_0_0 %wxEventType wxEVT_FIND_NEXT // wx3.0 alias for wxEVT_COMMAND_FIND_NEXT
%wxchkver_3_0_0 %wxEventType wxEVT_FIND_REPLACE // wx3.0 alias for wxEVT_COMMAND_FIND_REPLACE
%wxchkver_3_0_0 %wxEventType wxEVT_FIND_REPLACE_ALL // wx3.0 alias for wxEVT_COMMAND_FIND_REPLACE_ALL
%wxchkver_3_0_0 %wxEventType wxEVT_FIND_CLOSE // wx3.0 alias for wxEVT_COMMAND_FIND_CLOSE

wxFindDialogEvent(wxEventType commandType = wxEVT_NULL, int id = 0);

int GetFlags();
Expand Down
23 changes: 22 additions & 1 deletion wxLua/bindings/wxwidgets/wxcore_event.i
Original file line number Diff line number Diff line change
Expand Up @@ -49,18 +49,27 @@ class %delete wxCommandEvent : public wxEvent
%wxEventType wxEVT_COMMAND_RIGHT_CLICK // EVT_COMMAND_RIGHT_CLICK(winid, func);
%wxEventType wxEVT_COMMAND_RIGHT_DCLICK // EVT_COMMAND_RIGHT_DCLICK(winid, func);
//%wxEventType wxEVT_COMMAND_SCROLLBAR_UPDATED // EVT_SCROLLBAR(winid, func) obsolete use wxEVT_SCROLL...
%wxchkver_3_0_0 %wxEventType wxEVT_SCROLLBAR // wx3.0 alias for wxEVT_COMMAND_SCROLLBAR_UPDATED
%wxEventType wxEVT_COMMAND_SET_FOCUS // EVT_COMMAND_SET_FOCUS(winid, func);
//%wxEventType wxEVT_COMMAND_VLBOX_SELECTED // EVT_VLBOX(winid, func) unused?
%wxchkver_3_0_0 %wxEventType wxEVT_VLBOX // wx3.0 alias for wxEVT_COMMAND_VLBOX_SELECTED

%wxEventType wxEVT_COMMAND_MENU_SELECTED // EVT_MENU(winid, func) EVT_MENU_RANGE(id1, id2, func);

%wxchkver_3_0_0 %wxEventType wxEVT_MENU // wx3.0 alias for wxEVT_COMMAND_MENU_SELECTED

%wxEventType wxEVT_COMMAND_TOOL_CLICKED // EVT_TOOL(winid, func) EVT_TOOL_RANGE(id1, id2, func);
%wxEventType wxEVT_COMMAND_TOOL_ENTER // EVT_TOOL_ENTER(winid, func);
%wxEventType wxEVT_COMMAND_TOOL_RCLICKED // EVT_TOOL_RCLICKED(winid, func) EVT_TOOL_RCLICKED_RANGE(id1, id2, func);
%wxchkver_3_0_0 %wxEventType wxEVT_TOOL // wx3.0 alias for wxEVT_COMMAND_TOOL_CLICKED
%wxchkver_3_0_0 %wxEventType wxEVT_TOOL_ENTER // wx3.0 alias for wxEVT_COMMAND_TOOL_ENTER
%wxchkver_3_0_0 %wxEventType wxEVT_TOOL_RCLICKED // wx3.0 alias for wxEVT_COMMAND_TOOL_RCLICKED

%wxEventType wxEVT_COMMAND_TEXT_ENTER // EVT_TEXT_ENTER(id, fn);
%wxEventType wxEVT_COMMAND_TEXT_UPDATED // EVT_TEXT(id, fn);
%wxEventType wxEVT_COMMAND_TEXT_MAXLEN // EVT_TEXT_MAXLEN(id, fn);
%wxchkver_3_0_0 %wxEventType wxEVT_TEXT_ENTER // wx3.0 alias for wxEVT_COMMAND_TEXT_ENTER
%wxchkver_3_0_0 %wxEventType wxEVT_TEXT // wx3.0 alias for wxEVT_COMMAND_TEXT_UPDATED
%wxchkver_3_0_0 %wxEventType wxEVT_TEXT_MAXLEN // wx3.0 alias for wxEVT_COMMAND_TEXT_MAXLEN
!%wxchkver_2_8_0 %wxEventType wxEVT_COMMAND_TEXT_URL // EVT_TEXT_URL(id, fn);

%wxEventType wxEVT_COMMAND_SPINCTRL_UPDATED // EVT_SPINCTRL(id, fn);
Expand All @@ -75,6 +84,18 @@ class %delete wxCommandEvent : public wxEvent
%wxEventType wxEVT_COMMAND_CHECKBOX_CLICKED // EVT_CHECKBOX(winid, func);
%wxEventType wxEVT_COMMAND_BUTTON_CLICKED // EVT_BUTTON(winid, func);
%wxchkver_2_4 %wxEventType wxEVT_COMMAND_TOGGLEBUTTON_CLICKED // EVT_TOGGLEBUTTON(id, fn);
%wxchkver_3_0_0 %wxEventType wxEVT_SPINCTRL // wx3.0 alias for wxEVT_COMMAND_SPINCTRL_UPDATED
%wxchkver_3_0_0 %wxEventType wxEVT_SLIDER // wx3.0 alias for wxEVT_COMMAND_SLIDER_UPDATED
%wxchkver_3_0_0 %wxEventType wxEVT_RADIOBUTTON // wx3.0 alias for wxEVT_COMMAND_RADIOBUTTON_SELECTED
%wxchkver_3_0_0 %wxEventType wxEVT_RADIOBOX // wx3.0 alias for wxEVT_COMMAND_RADIOBOX_SELECTED
%wxchkver_3_0_0 %wxEventType wxEVT_CHECKLISTBOX // wx3.0 alias for wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
%wxchkver_3_0_0 %wxEventType wxEVT_LISTBOX_DCLICK // wx3.0 alias for wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
%wxchkver_3_0_0 %wxEventType wxEVT_LISTBOX // wx3.0 alias for wxEVT_COMMAND_LISTBOX_SELECTED
%wxchkver_3_0_0 %wxEventType wxEVT_COMBOBOX // wx3.0 alias for wxEVT_COMMAND_COMBOBOX_SELECTED
%wxchkver_3_0_0 %wxEventType wxEVT_CHOICE // wx3.0 alias for wxEVT_COMMAND_CHOICE_SELECTED
%wxchkver_3_0_0 %wxEventType wxEVT_CHECKBOX // wx3.0 alias for wxEVT_COMMAND_CHECKBOX_CLICKED
%wxchkver_3_0_0 %wxEventType wxEVT_BUTTON // wx3.0 alias for wxEVT_COMMAND_BUTTON_CLICKED
%wxchkver_3_0_0 %wxEventType wxEVT_TOGGLEBUTTON // wx3.0 alias for wxEVT_COMMAND_TOGGLEBUTTON_CLICKED

wxCommandEvent(wxEventType commandEventType = wxEVT_NULL, int id = 0);

Expand Down
5 changes: 5 additions & 0 deletions wxLua/bindings/wxwidgets/wxcore_picker.i
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ class wxColourPickerCtrl : public wxPickerBase
class %delete wxColourPickerEvent : public wxCommandEvent
{
%wxEventType wxEVT_COMMAND_COLOURPICKER_CHANGED // EVT_COLOURPICKER_CHANGED(id, func);
%wxchkver_3_0_0 %wxEventType wxEVT_COLOURPICKER_CHANGED // wx3.0 alias for wxEVT_COMMAND_COLOURPICKER_CHANGED

wxColourPickerEvent();
wxColourPickerEvent(wxObject *generator, int id, const wxColour &col);
Expand Down Expand Up @@ -283,6 +284,9 @@ class %delete wxFileDirPickerEvent : public wxCommandEvent
%wxEventType wxEVT_COMMAND_FILEPICKER_CHANGED // EVT_FILEPICKER_CHANGED(id, fn);
%wxEventType wxEVT_COMMAND_DIRPICKER_CHANGED // EVT_DIRPICKER_CHANGED(id, fn);

%wxchkver_3_0_0 %wxEventType wxEVT_FILEPICKER_CHANGED // wx3.0 alias for wxEVT_COMMAND_FILEPICKER_CHANGED
%wxchkver_3_0_0 %wxEventType wxEVT_DIRPICKER_CHANGED // wx3.0 alias for wxEVT_COMMAND_DIRPICKER_CHANGED

//wxFileDirPickerEvent();
wxFileDirPickerEvent(wxEventType type, wxObject *generator, int id, const wxString &path);

Expand Down Expand Up @@ -368,6 +372,7 @@ class wxFontPickerCtrl : public wxPickerBase
class %delete wxFontPickerEvent : public wxCommandEvent
{
%wxEventType wxEVT_COMMAND_FONTPICKER_CHANGED // EVT_FONTPICKER_CHANGED(id, fn);
%wxchkver_3_0_0 %wxEventType wxEVT_FONTPICKER_CHANGED // wx3.0 alias for wxEVT_COMMAND_FONTPICKER_CHANGED

//wxFontPickerEvent();
wxFontPickerEvent(wxObject *generator, int id, const wxFont &f);
Expand Down
Loading