Provide shorter synonyms for wxEVT_XXX constants.

Use the same short names as are used by the event table macros for the event
type constants themselves. This makes them much more comfortable to use, e.g.
Bind(wxEVT_BUTTON) compared to Bind(wxEVT_COMMAND_BUTTON_CLICKED).

The old long names are still kept for backwards compatibility and shouldn't be
removed as it doesn't really cost anything to continue providing them, but all
new event types should only use the short versions.

Closes #10661.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73850 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2013-04-25 10:11:03 +00:00
parent 3f7564f229
commit ce7fe42e84
405 changed files with 2703 additions and 2409 deletions

View File

@@ -601,15 +601,15 @@ public:
@beginEventEmissionTable{wxAuiToolBarEvent}
@event{EVT_AUITOOLBAR_TOOL_DROPDOWN(id, func)}
Process a wxEVT_COMMAND_AUITOOLBAR_TOOL_DROPDOWN event
Process a wxEVT_AUITOOLBAR_TOOL_DROPDOWN event
@event{EVT_AUITOOLBAR_OVERFLOW_CLICK(id, func)}
Process a wxEVT_COMMAND_AUITOOLBAR_OVERFLOW_CLICK event
Process a wxEVT_AUITOOLBAR_OVERFLOW_CLICK event
@event{EVT_AUITOOLBAR_RIGHT_CLICK(id, func)}
Process a wxEVT_COMMAND_AUITOOLBAR_RIGHT_CLICK event
Process a wxEVT_AUITOOLBAR_RIGHT_CLICK event
@event{EVT_AUITOOLBAR_MIDDLE_CLICK(id, func)}
Process a wxEVT_COMMAND_AUITOOLBAR_MIDDLE_CLICK event
Process a wxEVT_AUITOOLBAR_MIDDLE_CLICK event
@event{EVT_AUITOOLBAR_BEGIN_DRAG(id, func)}
Process a wxEVT_COMMAND_AUITOOLBAR_BEGIN_DRAG event
Process a wxEVT_AUITOOLBAR_BEGIN_DRAG event
@endEventTable
@library{wxaui}

View File

@@ -58,35 +58,35 @@
@beginEventEmissionTable{wxAuiNotebookEvent}
@event{EVT_AUINOTEBOOK_PAGE_CLOSE(id, func)}
A page is about to be closed. Processes a @c wxEVT_COMMAND_AUINOTEBOOK_PAGE_CLOSE event.
A page is about to be closed. Processes a @c wxEVT_AUINOTEBOOK_PAGE_CLOSE event.
@event{EVT_AUINOTEBOOK_PAGE_CLOSED(winid, fn)}
A page has been closed. Processes a @c wxEVT_COMMAND_AUINOTEBOOK_PAGE_CLOSED event.
A page has been closed. Processes a @c wxEVT_AUINOTEBOOK_PAGE_CLOSED event.
@event{EVT_AUINOTEBOOK_PAGE_CHANGED(id, func)}
The page selection was changed. Processes a @c wxEVT_COMMAND_AUINOTEBOOK_PAGE_CHANGED event.
The page selection was changed. Processes a @c wxEVT_AUINOTEBOOK_PAGE_CHANGED event.
@event{EVT_AUINOTEBOOK_PAGE_CHANGING(id, func)}
The page selection is about to be changed. Processes a @c wxEVT_COMMAND_AUINOTEBOOK_PAGE_CHANGING event. This event can be vetoed.
The page selection is about to be changed. Processes a @c wxEVT_AUINOTEBOOK_PAGE_CHANGING event. This event can be vetoed.
@event{EVT_AUINOTEBOOK_BUTTON(id, func)}
The window list button has been pressed. Processes a @c wxEVT_COMMAND_AUINOTEBOOK_BUTTON event.
The window list button has been pressed. Processes a @c wxEVT_AUINOTEBOOK_BUTTON event.
@event{EVT_AUINOTEBOOK_BEGIN_DRAG(id, func)}
Dragging is about to begin. Processes a @c wxEVT_COMMAND_AUINOTEBOOK_BEGIN_DRAG event.
Dragging is about to begin. Processes a @c wxEVT_AUINOTEBOOK_BEGIN_DRAG event.
@event{EVT_AUINOTEBOOK_END_DRAG(id, func)}
Dragging has ended. Processes a @c wxEVT_COMMAND_AUINOTEBOOK_END_DRAG event.
Dragging has ended. Processes a @c wxEVT_AUINOTEBOOK_END_DRAG event.
@event{EVT_AUINOTEBOOK_DRAG_MOTION(id, func)}
Emitted during a drag and drop operation. Processes a @c wxEVT_COMMAND_AUINOTEBOOK_DRAG_MOTION event.
Emitted during a drag and drop operation. Processes a @c wxEVT_AUINOTEBOOK_DRAG_MOTION event.
@event{EVT_AUINOTEBOOK_ALLOW_DND(id, func)}
Whether to allow a tab to be dropped. Processes a @c wxEVT_COMMAND_AUINOTEBOOK_ALLOW_DND event. This event must be specially allowed.
Whether to allow a tab to be dropped. Processes a @c wxEVT_AUINOTEBOOK_ALLOW_DND event. This event must be specially allowed.
@event{EVT_AUINOTEBOOK_DRAG_DONE(winid, fn)}
Notify that the tab has been dragged. Processes a @c wxEVT_COMMAND_AUINOTEBOOK_DRAG_DONE event.
Notify that the tab has been dragged. Processes a @c wxEVT_AUINOTEBOOK_DRAG_DONE event.
@event{EVT_AUINOTEBOOK_TAB_MIDDLE_DOWN(winid, fn)}
The middle mouse button is pressed on a tab. Processes a @c wxEVT_COMMAND_AUINOTEBOOK_TAB_MIDDLE_DOWN event.
The middle mouse button is pressed on a tab. Processes a @c wxEVT_AUINOTEBOOK_TAB_MIDDLE_DOWN event.
@event{EVT_AUINOTEBOOK_TAB_MIDDLE_UP(winid, fn)}
The middle mouse button is released on a tab. Processes a @c wxEVT_COMMAND_AUINOTEBOOK_TAB_MIDDLE_UP event.
The middle mouse button is released on a tab. Processes a @c wxEVT_AUINOTEBOOK_TAB_MIDDLE_UP event.
@event{EVT_AUINOTEBOOK_TAB_RIGHT_DOWN(winid, fn)}
The right mouse button is pressed on a tab. Processes a @c wxEVT_COMMAND_AUINOTEBOOK_TAB_RIGHT_DOWN event.
The right mouse button is pressed on a tab. Processes a @c wxEVT_AUINOTEBOOK_TAB_RIGHT_DOWN event.
@event{EVT_AUINOTEBOOK_TAB_RIGHT_UP(winid, fn)}
The right mouse button is released on a tab. Processes a @c wxEVT_COMMAND_AUINOTEBOOK_TAB_RIGHT_UP event.
The right mouse button is released on a tab. Processes a @c wxEVT_AUINOTEBOOK_TAB_RIGHT_UP event.
@event{EVT_AUINOTEBOOK_BG_DCLICK(winid, fn)}
Double clicked on the tabs background area. Processes a @c wxEVT_COMMAND_AUINOTEBOOK_BG_DCLICK event.
Double clicked on the tabs background area. Processes a @c wxEVT_AUINOTEBOOK_BG_DCLICK event.
@endEventTable
@library{wxaui}
@@ -602,35 +602,35 @@ public:
@beginEventEmissionTable{wxAuiNotebookEvent}
@event{EVT_AUINOTEBOOK_PAGE_CLOSE(id, func)}
A page is about to be closed. Processes a @c wxEVT_COMMAND_AUINOTEBOOK_PAGE_CLOSE event.
A page is about to be closed. Processes a @c wxEVT_AUINOTEBOOK_PAGE_CLOSE event.
@event{EVT_AUINOTEBOOK_PAGE_CLOSED(winid, fn)}
A page has been closed. Processes a @c wxEVT_COMMAND_AUINOTEBOOK_PAGE_CLOSED event.
A page has been closed. Processes a @c wxEVT_AUINOTEBOOK_PAGE_CLOSED event.
@event{EVT_AUINOTEBOOK_PAGE_CHANGED(id, func)}
The page selection was changed. Processes a @c wxEVT_COMMAND_AUINOTEBOOK_PAGE_CHANGED event.
The page selection was changed. Processes a @c wxEVT_AUINOTEBOOK_PAGE_CHANGED event.
@event{EVT_AUINOTEBOOK_PAGE_CHANGING(id, func)}
The page selection is about to be changed. Processes a @c wxEVT_COMMAND_AUINOTEBOOK_PAGE_CHANGING event. This event can be vetoed.
The page selection is about to be changed. Processes a @c wxEVT_AUINOTEBOOK_PAGE_CHANGING event. This event can be vetoed.
@event{EVT_AUINOTEBOOK_BUTTON(id, func)}
The window list button has been pressed. Processes a @c wxEVT_COMMAND_AUINOTEBOOK_BUTTON event.
The window list button has been pressed. Processes a @c wxEVT_AUINOTEBOOK_BUTTON event.
@event{EVT_AUINOTEBOOK_BEGIN_DRAG(id, func)}
Dragging is about to begin. Processes a @c wxEVT_COMMAND_AUINOTEBOOK_BEGIN_DRAG event.
Dragging is about to begin. Processes a @c wxEVT_AUINOTEBOOK_BEGIN_DRAG event.
@event{EVT_AUINOTEBOOK_END_DRAG(id, func)}
Dragging has ended. Processes a @c wxEVT_COMMAND_AUINOTEBOOK_END_DRAG event.
Dragging has ended. Processes a @c wxEVT_AUINOTEBOOK_END_DRAG event.
@event{EVT_AUINOTEBOOK_DRAG_MOTION(id, func)}
Emitted during a drag and drop operation. Processes a @c wxEVT_COMMAND_AUINOTEBOOK_DRAG_MOTION event.
Emitted during a drag and drop operation. Processes a @c wxEVT_AUINOTEBOOK_DRAG_MOTION event.
@event{EVT_AUINOTEBOOK_ALLOW_DND(id, func)}
Whether to allow a tab to be dropped. Processes a @c wxEVT_COMMAND_AUINOTEBOOK_ALLOW_DND event. This event must be specially allowed.
Whether to allow a tab to be dropped. Processes a @c wxEVT_AUINOTEBOOK_ALLOW_DND event. This event must be specially allowed.
@event{EVT_AUINOTEBOOK_DRAG_DONE(winid, fn)}
Notify that the tab has been dragged. Processes a @c wxEVT_COMMAND_AUINOTEBOOK_DRAG_DONE event.
Notify that the tab has been dragged. Processes a @c wxEVT_AUINOTEBOOK_DRAG_DONE event.
@event{EVT_AUINOTEBOOK_TAB_MIDDLE_DOWN(winid, fn)}
The middle mouse button is pressed on a tab. Processes a @c wxEVT_COMMAND_AUINOTEBOOK_TAB_MIDDLE_DOWN event.
The middle mouse button is pressed on a tab. Processes a @c wxEVT_AUINOTEBOOK_TAB_MIDDLE_DOWN event.
@event{EVT_AUINOTEBOOK_TAB_MIDDLE_UP(winid, fn)}
The middle mouse button is released on a tab. Processes a @c wxEVT_COMMAND_AUINOTEBOOK_TAB_MIDDLE_UP event.
The middle mouse button is released on a tab. Processes a @c wxEVT_AUINOTEBOOK_TAB_MIDDLE_UP event.
@event{EVT_AUINOTEBOOK_TAB_RIGHT_DOWN(winid, fn)}
The right mouse button is pressed on a tab. Processes a @c wxEVT_COMMAND_AUINOTEBOOK_TAB_RIGHT_DOWN event.
The right mouse button is pressed on a tab. Processes a @c wxEVT_AUINOTEBOOK_TAB_RIGHT_DOWN event.
@event{EVT_AUINOTEBOOK_TAB_RIGHT_UP(winid, fn)}
The right mouse button is released on a tab. Processes a @c wxEVT_COMMAND_AUINOTEBOOK_TAB_RIGHT_UP event.
The right mouse button is released on a tab. Processes a @c wxEVT_AUINOTEBOOK_TAB_RIGHT_UP event.
@event{EVT_AUINOTEBOOK_BG_DCLICK(winid, fn)}
Double clicked on the tabs background area. Processes a @c wxEVT_COMMAND_AUINOTEBOOK_BG_DCLICK event.
Double clicked on the tabs background area. Processes a @c wxEVT_AUINOTEBOOK_BG_DCLICK event.
@endEventTable
@library{wxaui}

View File

@@ -33,7 +33,7 @@
@beginEventEmissionTable{wxCommandEvent}
@event{EVT_BUTTON(id, func)}
Process a @c wxEVT_COMMAND_BUTTON_CLICKED event, when the button is clicked.
Process a @c wxEVT_BUTTON event, when the button is clicked.
@endEventTable
@library{wxcore}

View File

@@ -28,7 +28,7 @@
@style{wxCB_SORT}
Sorts the entries in the list alphabetically.
@style{wxTE_PROCESS_ENTER}
The control will generate the event wxEVT_COMMAND_TEXT_ENTER
The control will generate the event wxEVT_TEXT_ENTER
(otherwise pressing Enter key is either processed internally by the
control or used for navigation between dialog controls).
Windows only.
@@ -38,12 +38,12 @@
@beginEventEmissionTable{wxCommandEvent}
@event{EVT_COMBOBOX(id, func)}
Process a @c wxEVT_COMMAND_COMBOBOX_SELECTED event, when an item on
Process a @c wxEVT_COMBOBOX event, when an item on
the list is selected.
@event{EVT_TEXT(id, func)}
Process a @c wxEVT_COMMAND_TEXT_UPDATED event, when the combobox text changes.
Process a @c wxEVT_TEXT event, when the combobox text changes.
@event{EVT_TEXT_ENTER(id, func)}
Process a @c wxEVT_COMMAND_TEXT_ENTER event, when RETURN is pressed in
Process a @c wxEVT_TEXT_ENTER event, when RETURN is pressed in
the combobox.
@endEventTable

View File

@@ -95,7 +95,7 @@
@beginEventEmissionTable{wxCommandEvent}
@event{EVT_BUTTON(id, func)}
Process a @c wxEVT_COMMAND_BUTTON_CLICKED event, when the button is clicked.
Process a @c wxEVT_BUTTON event, when the button is clicked.
@endEventTable
@library{wxcore}

View File

@@ -63,7 +63,7 @@ enum wxCheckBoxState
@beginEventEmissionTable{wxCommandEvent}
@event{EVT_CHECKBOX(id, func)}
Process a @c wxEVT_COMMAND_CHECKBOX_CLICKED event, when the checkbox
Process a @c wxEVT_CHECKBOX event, when the checkbox
is clicked.
@endEventTable
@@ -170,7 +170,7 @@ public:
/**
Sets the checkbox to the given state. This does not cause a
@c wxEVT_COMMAND_CHECKBOX_CLICKED event to get emitted.
@c wxEVT_CHECKBOX event to get emitted.
@param state
If @true, the check is on, otherwise it is off.
@@ -179,7 +179,7 @@ public:
/**
Sets the checkbox to the given state. This does not cause a
@c wxEVT_COMMAND_CHECKBOX_CLICKED event to get emitted.
@c wxEVT_CHECKBOX event to get emitted.
Asserts when the checkbox is a 2-state checkbox and setting the state
to wxCHK_UNDETERMINED.

View File

@@ -17,7 +17,7 @@
@beginEventEmissionTable{wxCommandEvent}
@event{EVT_CHECKLISTBOX(id, func)}
Process a @c wxEVT_COMMAND_CHECKLISTBOX_TOGGLED event, when an item in
Process a @c wxEVT_CHECKLISTBOX event, when an item in
the check list box is checked or unchecked. wxCommandEvent::GetInt()
will contain the index of the item that was checked or unchecked.
wxCommandEvent::IsChecked() is not valid! Use wxCheckListBox::IsChecked()
@@ -135,7 +135,7 @@ public:
/**
Checks the given item. Note that calling this method does not result in
a @c wxEVT_COMMAND_CHECKLISTBOX_TOGGLE event being emitted.
a @c wxEVT_CHECKLISTBOX event being emitted.
@param item
Index of item to check.

View File

@@ -20,7 +20,7 @@
@beginEventEmissionTable{wxCommandEvent}
@event{EVT_CHOICE(id, func)}
Process a @c wxEVT_COMMAND_CHOICE_SELECTED event, when an item on the
Process a @c wxEVT_CHOICE event, when an item on the
list is selected.
@endEventTable

View File

@@ -15,8 +15,8 @@
#define wxCHB_RIGHT wxBK_RIGHT
#define wxCHB_ALIGN_MASK wxBK_ALIGN_MASK
wxEventType wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED;
wxEventType wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING;
wxEventType wxEVT_CHOICEBOOK_PAGE_CHANGED;
wxEventType wxEVT_CHOICEBOOK_PAGE_CHANGING;
/**
@class wxChoicebook
@@ -50,10 +50,10 @@ wxEventType wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING;
@beginEventEmissionTable{wxBookCtrlEvent}
@event{EVT_CHOICEBOOK_PAGE_CHANGED(id, func)}
The page selection was changed.
Processes a @c wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED event.
Processes a @c wxEVT_CHOICEBOOK_PAGE_CHANGED event.
@event{EVT_CHOICEBOOK_PAGE_CHANGING(id, func)}
The page selection is about to be changed.
Processes a @c wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING event.
Processes a @c wxEVT_CHOICEBOOK_PAGE_CHANGING event.
This event can be vetoed (using wxNotifyEvent::Veto()).
@endEventTable

View File

@@ -10,7 +10,7 @@
#define wxCLRP_DEFAULT_STYLE 0
#define wxCLRP_SHOW_LABEL 0x0008
wxEventType wxEVT_COMMAND_COLOURPICKER_CHANGED;
wxEventType wxEVT_COLOURPICKER_CHANGED;
/**

View File

@@ -44,7 +44,7 @@ public:
void SetCollapsed(bool collapsed);
};
wxEventType wxEVT_COMMAND_COLLPANE_CHANGED;
wxEventType wxEVT_COLLAPSIBLEPANE_CHANGED;
/**
@class wxCollapsiblePane

View File

@@ -330,7 +330,7 @@ struct wxComboCtrlFeatures
@style{wxCB_SORT}
Sorts the entries in the list alphabetically.
@style{wxTE_PROCESS_ENTER}
The control will generate the event @c wxEVT_COMMAND_TEXT_ENTER
The control will generate the event @c wxEVT_TEXT_ENTER
(otherwise pressing Enter key is either processed internally by the
control or used for navigation between dialog controls). Windows
only.
@@ -345,15 +345,15 @@ struct wxComboCtrlFeatures
@beginEventEmissionTable{wxCommandEvent}
@event{EVT_TEXT(id, func)}
Process a @c wxEVT_COMMAND_TEXT_UPDATED event, when the text changes.
Process a @c wxEVT_TEXT event, when the text changes.
@event{EVT_TEXT_ENTER(id, func)}
Process a @c wxEVT_COMMAND_TEXT_ENTER event, when RETURN is pressed in
Process a @c wxEVT_TEXT_ENTER event, when RETURN is pressed in
the combo control.
@event{EVT_COMBOBOX_DROPDOWN(id, func)}
Process a @c wxEVT_COMMAND_COMBOBOX_DROPDOWN event, which is generated
Process a @c wxEVT_COMBOBOX_DROPDOWN event, which is generated
when the popup window is shown (drops down).
@event{EVT_COMBOBOX_CLOSEUP(id, func)}
Process a @c wxEVT_COMMAND_COMBOBOX_CLOSEUP event, which is generated
Process a @c wxEVT_COMBOBOX_CLOSEUP event, which is generated
when the popup window of the combo control disappears (closes up).
You should avoid adding or deleting items in this event.
@endEventTable
@@ -438,7 +438,7 @@ public:
Dismisses the popup window.
Notice that calling this function will generate a
@c wxEVT_COMMAND_COMBOBOX_CLOSEUP event.
@c wxEVT_COMBOBOX_CLOSEUP event.
@since 2.9.2
*/
@@ -609,7 +609,7 @@ public:
@param generateEvent
Set this to @true in order to generate
@c wxEVT_COMMAND_COMBOBOX_CLOSEUP event.
@c wxEVT_COMBOBOX_CLOSEUP event.
@deprecated Use Dismiss() instead.
*/
@@ -652,7 +652,7 @@ public:
Shows the popup portion of the combo control.
Notice that calling this function will generate a
@c wxEVT_COMMAND_COMBOBOX_DROPDOWN event.
@c wxEVT_COMBOBOX_DROPDOWN event.
@since 2.9.2
*/

View File

@@ -41,7 +41,7 @@
@style{wxCB_SORT}
Sorts the entries in the list alphabetically.
@style{wxTE_PROCESS_ENTER}
The control will generate the event @c wxEVT_COMMAND_TEXT_ENTER
The control will generate the event @c wxEVT_TEXT_ENTER
(otherwise pressing Enter key is either processed internally by the
control or used for navigation between dialog controls). Windows
only.
@@ -49,26 +49,26 @@
@beginEventEmissionTable{wxCommandEvent}
@event{EVT_COMBOBOX(id, func)}
Process a @c wxEVT_COMMAND_COMBOBOX_SELECTED event, when an item on
Process a @c wxEVT_COMBOBOX event, when an item on
the list is selected. Note that calling GetValue() returns the new
value of selection.
@event{EVT_TEXT(id, func)}
Process a @c wxEVT_COMMAND_TEXT_UPDATED event, when the combobox text
Process a @c wxEVT_TEXT event, when the combobox text
changes.
@event{EVT_TEXT_ENTER(id, func)}
Process a @c wxEVT_COMMAND_TEXT_ENTER event, when RETURN is pressed in
Process a @c wxEVT_TEXT_ENTER event, when RETURN is pressed in
the combobox (notice that the combobox must have been created with
wxTE_PROCESS_ENTER style to receive this event).
@event{EVT_COMBOBOX_DROPDOWN(id, func)}
Process a @c wxEVT_COMMAND_COMBOBOX_DROPDOWN event, which is generated
Process a @c wxEVT_COMBOBOX_DROPDOWN event, which is generated
when the list box part of the combo box is shown (drops down).
Notice that this event is currently only supported by wxMSW and
wxGTK with GTK+ 2.10 or later.
@event{EVT_COMBOBOX_CLOSEUP(id, func)}
Process a @c wxEVT_COMMAND_COMBOBOX_CLOSEUP event, which is generated
Process a @c wxEVT_COMBOBOX_CLOSEUP event, which is generated
when the list box of the combo box disappears (closes up). This
event is only generated for the same platforms as
@c wxEVT_COMMAND_COMBOBOX_DROPDOWN above. Also note that only wxMSW
@c wxEVT_COMBOBOX_DROPDOWN above. Also note that only wxMSW
supports adding or deleting items in this event.
@endEventTable
@@ -255,7 +255,7 @@ public:
/**
Sets the text for the combobox text field.
Notice that this method will generate a @c wxEVT_COMMAND_TEXT_UPDATED
Notice that this method will generate a @c wxEVT_TEXT
event, use wxTextEntry::ChangeValue() if this is undesirable.
@note For a combobox with @c wxCB_READONLY style the string must be in
@@ -273,7 +273,7 @@ public:
Currently this method is implemented in wxMSW, wxGTK and wxOSX/Cocoa.
Notice that calling this function will generate a
@c wxEVT_COMMAND_COMBOBOX_DROPDOWN event except under wxOSX where
@c wxEVT_COMBOBOX_DROPDOWN event except under wxOSX where
generation of this event is not supported at all.
@since 2.9.1
@@ -286,7 +286,7 @@ public:
Currently this method is implemented in wxMSW, wxGTK and wxOSX/Cocoa.
Notice that calling this function will generate a
@c wxEVT_COMMAND_COMBOBOX_CLOSEUP event except under wxOSX where
@c wxEVT_COMBOBOX_CLOSEUP event except under wxOSX where
generation of this event is not supported at all.
@since 2.9.1

View File

@@ -769,29 +769,29 @@ public:
// events
wxEventType wxEVT_COMMAND_DATAVIEW_SELECTION_CHANGED;
wxEventType wxEVT_DATAVIEW_SELECTION_CHANGED;
wxEventType wxEVT_COMMAND_DATAVIEW_ITEM_ACTIVATED;
wxEventType wxEVT_COMMAND_DATAVIEW_ITEM_COLLAPSING;
wxEventType wxEVT_COMMAND_DATAVIEW_ITEM_COLLAPSED;
wxEventType wxEVT_COMMAND_DATAVIEW_ITEM_EXPANDING;
wxEventType wxEVT_COMMAND_DATAVIEW_ITEM_EXPANDED;
wxEventType wxEVT_COMMAND_DATAVIEW_ITEM_START_EDITING;
wxEventType wxEVT_COMMAND_DATAVIEW_ITEM_EDITING_STARTED;
wxEventType wxEVT_COMMAND_DATAVIEW_ITEM_EDITING_DONE;
wxEventType wxEVT_COMMAND_DATAVIEW_ITEM_VALUE_CHANGED;
wxEventType wxEVT_DATAVIEW_ITEM_ACTIVATED;
wxEventType wxEVT_DATAVIEW_ITEM_COLLAPSING;
wxEventType wxEVT_DATAVIEW_ITEM_COLLAPSED;
wxEventType wxEVT_DATAVIEW_ITEM_EXPANDING;
wxEventType wxEVT_DATAVIEW_ITEM_EXPANDED;
wxEventType wxEVT_DATAVIEW_ITEM_START_EDITING;
wxEventType wxEVT_DATAVIEW_ITEM_EDITING_STARTED;
wxEventType wxEVT_DATAVIEW_ITEM_EDITING_DONE;
wxEventType wxEVT_DATAVIEW_ITEM_VALUE_CHANGED;
wxEventType wxEVT_COMMAND_DATAVIEW_ITEM_CONTEXT_MENU;
wxEventType wxEVT_DATAVIEW_ITEM_CONTEXT_MENU;
wxEventType wxEVT_COMMAND_DATAVIEW_COLUMN_HEADER_CLICK;
wxEventType wxEVT_COMMAND_DATAVIEW_COLUMN_HEADER_RIGHT_CLICK;
wxEventType wxEVT_COMMAND_DATAVIEW_COLUMN_SORTED;
wxEventType wxEVT_COMMAND_DATAVIEW_COLUMN_REORDERED;
wxEventType wxEVT_COMMAND_DATAVIEW_CACHE_HINT;
wxEventType wxEVT_DATAVIEW_COLUMN_HEADER_CLICK;
wxEventType wxEVT_DATAVIEW_COLUMN_HEADER_RIGHT_CLICKED;
wxEventType wxEVT_DATAVIEW_COLUMN_SORTED;
wxEventType wxEVT_DATAVIEW_COLUMN_REORDERED;
wxEventType wxEVT_DATAVIEW_CACHE_HINT;
wxEventType wxEVT_COMMAND_DATAVIEW_ITEM_BEGIN_DRAG;
wxEventType wxEVT_COMMAND_DATAVIEW_ITEM_DROP_POSSIBLE;
wxEventType wxEVT_COMMAND_DATAVIEW_ITEM_DROP;
wxEventType wxEVT_DATAVIEW_ITEM_BEGIN_DRAG;
wxEventType wxEVT_DATAVIEW_ITEM_DROP_POSSIBLE;
wxEventType wxEVT_DATAVIEW_ITEM_DROP;
/**
@class wxDataViewCtrl
@@ -844,51 +844,51 @@ wxEventType wxEVT_COMMAND_DATAVIEW_ITEM_DROP;
@beginEventEmissionTable{wxDataViewEvent}
@event{EVT_DATAVIEW_SELECTION_CHANGED(id, func)}
Process a @c wxEVT_COMMAND_DATAVIEW_SELECTION_CHANGED event.
Process a @c wxEVT_DATAVIEW_SELECTION_CHANGED event.
@event{EVT_DATAVIEW_ITEM_ACTIVATED(id, func)}
Process a @c wxEVT_COMMAND_DATAVIEW_ITEM_ACTIVATED event. This event
Process a @c wxEVT_DATAVIEW_ITEM_ACTIVATED event. This event
is triggered by double clicking an item or pressing some special key
(usually "Enter") when it is focused.
@event{EVT_DATAVIEW_ITEM_START_EDITING(id, func)}
Process a @c wxEVT_COMMAND_DATAVIEW_ITEM_START_EDITING event. This
Process a @c wxEVT_DATAVIEW_ITEM_START_EDITING event. This
event can be vetoed in order to prevent editing on an item by item
basis.
@event{EVT_DATAVIEW_ITEM_EDITING_STARTED(id, func)}
Process a @c wxEVT_COMMAND_DATAVIEW_ITEM_EDITING_STARTED event.
Process a @c wxEVT_DATAVIEW_ITEM_EDITING_STARTED event.
@event{EVT_DATAVIEW_ITEM_EDITING_DONE(id, func)}
Process a @c wxEVT_COMMAND_DATAVIEW_ITEM_EDITING_DONE event.
Process a @c wxEVT_DATAVIEW_ITEM_EDITING_DONE event.
@event{EVT_DATAVIEW_ITEM_COLLAPSING(id, func)}
Process a @c wxEVT_COMMAND_DATAVIEW_ITEM_COLLAPSING event.
Process a @c wxEVT_DATAVIEW_ITEM_COLLAPSING event.
@event{EVT_DATAVIEW_ITEM_COLLAPSED(id, func)}
Process a @c wxEVT_COMMAND_DATAVIEW_ITEM_COLLAPSED event.
Process a @c wxEVT_DATAVIEW_ITEM_COLLAPSED event.
@event{EVT_DATAVIEW_ITEM_EXPANDING(id, func)}
Process a @c wxEVT_COMMAND_DATAVIEW_ITEM_EXPANDING event.
Process a @c wxEVT_DATAVIEW_ITEM_EXPANDING event.
@event{EVT_DATAVIEW_ITEM_EXPANDED(id, func)}
Process a @c wxEVT_COMMAND_DATAVIEW_ITEM_EXPANDED event.
Process a @c wxEVT_DATAVIEW_ITEM_EXPANDED event.
@event{EVT_DATAVIEW_ITEM_VALUE_CHANGED(id, func)}
Process a @c wxEVT_COMMAND_DATAVIEW_ITEM_VALUE_CHANGED event.
Process a @c wxEVT_DATAVIEW_ITEM_VALUE_CHANGED event.
@event{EVT_DATAVIEW_ITEM_CONTEXT_MENU(id, func)}
Process a @c wxEVT_COMMAND_DATAVIEW_ITEM_CONTEXT_MENU event
Process a @c wxEVT_DATAVIEW_ITEM_CONTEXT_MENU event
generated when the user right clicks inside the control. Notice that
this menu is generated even if the click didn't occur on any valid
item, in this case wxDataViewEvent::GetItem() simply returns an
invalid item.
@event{EVT_DATAVIEW_COLUMN_HEADER_CLICK(id, func)}
Process a @c wxEVT_COMMAND_DATAVIEW_COLUMN_HEADER_CLICK event.
Process a @c wxEVT_DATAVIEW_COLUMN_HEADER_CLICK event.
@event{EVT_DATAVIEW_COLUMN_HEADER_RIGHT_CLICK(id, func)}
Process a @c wxEVT_COMMAND_DATAVIEW_COLUMN_HEADER_RIGHT_CLICK event.
Process a @c wxEVT_DATAVIEW_COLUMN_HEADER_RIGHT_CLICKED event.
Notice that currently this event is not generated in the native OS X
versions of the control.
@event{EVT_DATAVIEW_COLUMN_SORTED(id, func)}
Process a @c wxEVT_COMMAND_DATAVIEW_COLUMN_SORTED event.
Process a @c wxEVT_DATAVIEW_COLUMN_SORTED event.
@event{EVT_DATAVIEW_COLUMN_REORDERED(id, func)}
Process a @c wxEVT_COMMAND_DATAVIEW_COLUMN_REORDERED event.
Process a @c wxEVT_DATAVIEW_COLUMN_REORDERED event.
@event{EVT_DATAVIEW_ITEM_BEGIN_DRAG(id, func)}
Process a @c wxEVT_COMMAND_DATAVIEW_ITEM_BEGIN_DRAG event.
Process a @c wxEVT_DATAVIEW_ITEM_BEGIN_DRAG event.
@event{EVT_DATAVIEW_ITEM_DROP_POSSIBLE(id, func)}
Process a @c wxEVT_COMMAND_DATAVIEW_ITEM_DROP_POSSIBLE event.
Process a @c wxEVT_DATAVIEW_ITEM_DROP_POSSIBLE event.
@event{EVT_DATAVIEW_ITEM_DROP(id, func)}
Process a @c wxEVT_COMMAND_DATAVIEW_ITEM_DROP event.
Process a @c wxEVT_DATAVIEW_ITEM_DROP event.
@endEventTable
Notice that this control doesn't allow to process generic mouse events such
@@ -1635,7 +1635,7 @@ enum wxDataViewCellMode
mouse click.
@note Do not confuse this with item activation in wxDataViewCtrl
and the wxEVT_COMMAND_DATAVIEW_ITEM_ACTIVATED event. That one is
and the wxEVT_DATAVIEW_ITEM_ACTIVATED event. That one is
used for activating the item (or, to put it differently, the
entire row) similarly to analogous messages in wxTreeCtrl and
wxListCtrl, and the effect differs (play a song, open a file
@@ -2087,7 +2087,7 @@ public:
@since 2.9.3
@note Do not confuse this method with item activation in wxDataViewCtrl
and the wxEVT_COMMAND_DATAVIEW_ITEM_ACTIVATED event. That one is
and the wxEVT_DATAVIEW_ITEM_ACTIVATED event. That one is
used for activating the item (or, to put it differently, the
entire row) similarly to analogous messages in wxTreeCtrl and
wxListCtrl, and the effect differs (play a song, open a file
@@ -3232,43 +3232,43 @@ public:
@beginEventTable{wxDataViewEvent}
@event{EVT_DATAVIEW_SELECTION_CHANGED(id, func)}
Process a @c wxEVT_COMMAND_DATAVIEW_SELECTION_CHANGED event.
Process a @c wxEVT_DATAVIEW_SELECTION_CHANGED event.
@event{EVT_DATAVIEW_ITEM_ACTIVATED(id, func)}
Process a @c wxEVT_COMMAND_DATAVIEW_ITEM_ACTIVATED event.
Process a @c wxEVT_DATAVIEW_ITEM_ACTIVATED event.
@event{EVT_DATAVIEW_ITEM_EDITING_STARTED(id, func)}
Process a @c wxEVT_COMMAND_DATAVIEW_ITEM_EDITING_STARTED event.
Process a @c wxEVT_DATAVIEW_ITEM_EDITING_STARTED event.
@event{EVT_DATAVIEW_ITEM_EDITING_DONE(id, func)}
Process a @c wxEVT_COMMAND_DATAVIEW_ITEM_EDITING_DONE event.
Process a @c wxEVT_DATAVIEW_ITEM_EDITING_DONE event.
@event{EVT_DATAVIEW_ITEM_COLLAPSING(id, func)}
Process a @c wxEVT_COMMAND_DATAVIEW_ITEM_COLLAPSING event.
Process a @c wxEVT_DATAVIEW_ITEM_COLLAPSING event.
@event{EVT_DATAVIEW_ITEM_COLLAPSED(id, func)}
Process a @c wxEVT_COMMAND_DATAVIEW_ITEM_COLLAPSED event.
Process a @c wxEVT_DATAVIEW_ITEM_COLLAPSED event.
@event{EVT_DATAVIEW_ITEM_EXPANDING(id, func)}
Process a @c wxEVT_COMMAND_DATAVIEW_ITEM_EXPANDING event.
Process a @c wxEVT_DATAVIEW_ITEM_EXPANDING event.
@event{EVT_DATAVIEW_ITEM_EXPANDED(id, func)}
Process a @c wxEVT_COMMAND_DATAVIEW_ITEM_EXPANDED event.
Process a @c wxEVT_DATAVIEW_ITEM_EXPANDED event.
@event{EVT_DATAVIEW_ITEM_VALUE_CHANGED(id, func)}
Process a @c wxEVT_COMMAND_DATAVIEW_ITEM_VALUE_CHANGED event.
Process a @c wxEVT_DATAVIEW_ITEM_VALUE_CHANGED event.
@event{EVT_DATAVIEW_ITEM_CONTEXT_MENU(id, func)}
Process a @c wxEVT_COMMAND_DATAVIEW_ITEM_CONTEXT_MENU event.
Process a @c wxEVT_DATAVIEW_ITEM_CONTEXT_MENU event.
@event{EVT_DATAVIEW_COLUMN_HEADER_CLICK(id, func)}
Process a @c wxEVT_COMMAND_DATAVIEW_COLUMN_HEADER_CLICK event.
Process a @c wxEVT_DATAVIEW_COLUMN_HEADER_CLICK event.
@event{EVT_DATAVIEW_COLUMN_HEADER_RIGHT_CLICK(id, func)}
Process a @c wxEVT_COMMAND_DATAVIEW_COLUMN_HEADER_RIGHT_CLICKED event.
Process a @c wxEVT_DATAVIEW_COLUMN_HEADER_RIGHT_CLICKED event.
@event{EVT_DATAVIEW_COLUMN_SORTED(id, func)}
Process a @c wxEVT_COMMAND_DATAVIEW_COLUMN_SORTED event.
Process a @c wxEVT_DATAVIEW_COLUMN_SORTED event.
@event{EVT_DATAVIEW_COLUMN_REORDERED(id, func)}
Process a @c wxEVT_COMMAND_DATAVIEW_COLUMN_REORDERED event.
Process a @c wxEVT_DATAVIEW_COLUMN_REORDERED event.
Currently this even is only generated when using the native OSX
version.
@event{EVT_DATAVIEW_ITEM_BEGIN_DRAG(id, func)}
Process a @c wxEVT_COMMAND_DATAVIEW_ITEM_BEGIN_DRAG event.
Process a @c wxEVT_DATAVIEW_ITEM_BEGIN_DRAG event.
@event{EVT_DATAVIEW_ITEM_DROP_POSSIBLE(id, func)}
Process a @c wxEVT_COMMAND_DATAVIEW_ITEM_DROP_POSSIBLE event.
Process a @c wxEVT_DATAVIEW_ITEM_DROP_POSSIBLE event.
@event{EVT_DATAVIEW_ITEM_DROP(id, func)}
Process a @c wxEVT_COMMAND_DATAVIEW_ITEM_DROP event.
Process a @c wxEVT_DATAVIEW_ITEM_DROP event.
@event{EVT_DATAVIEW_CACHE_HINT(id, func)}
Process a @c wxEVT_COMMAND_DATAVIEW_CACHE_HINT event.
Process a @c wxEVT_DATAVIEW_CACHE_HINT event.
@endEventTable
@library{wxadv}
@@ -3312,14 +3312,14 @@ public:
/**
Can be used to determine whether the new value is going to be accepted
in wxEVT_COMMAND_DATAVIEW_ITEM_EDITING_DONE handler.
in wxEVT_DATAVIEW_ITEM_EDITING_DONE handler.
Returns @true if editing the item was cancelled or if the user tried to
enter an invalid value (refused by wxDataViewRenderer::Validate()). If
this method returns @false, it means that the value in the model is
about to be changed to the new one.
Notice that wxEVT_COMMAND_DATAVIEW_ITEM_EDITING_DONE event handler can
Notice that wxEVT_DATAVIEW_ITEM_EDITING_DONE event handler can
call wxNotifyEvent::Veto() to prevent this from happening.
Currently support for setting this field and for vetoing the change is
@@ -3373,7 +3373,7 @@ public:
/**
Specify the kind of the drag operation to perform.
This method can be used inside a wxEVT_COMMAND_DATAVIEW_ITEM_BEGIN_DRAG
This method can be used inside a wxEVT_DATAVIEW_ITEM_BEGIN_DRAG
handler in order to configure the drag operation. Valid values are
::wxDrag_CopyOnly (default), ::wxDrag_AllowMove (allow the data to be
moved) and ::wxDrag_DefaultMove.
@@ -3392,8 +3392,8 @@ public:
Returns the effect the user requested to happen to the dropped data.
This function can be used inside
wxEVT_COMMAND_DATAVIEW_ITEM_DROP_POSSIBLE and
wxEVT_COMMAND_DATAVIEW_ITEM_DROP handlers and returns whether the user
wxEVT_DATAVIEW_ITEM_DROP_POSSIBLE and
wxEVT_DATAVIEW_ITEM_DROP handlers and returns whether the user
is trying to copy (the return value is ::wxDragCopy) or move (if the
return value is ::wxDragMove) the data.

View File

@@ -777,7 +777,7 @@ enum wxItemKind
/**
Normal tool button with a dropdown arrow next to it. Clicking the
dropdown arrow sends a @c wxEVT_COMMAND_TOOL_DROPDOWN_CLICKED event and may
dropdown arrow sends a @c wxEVT_TOOL_DROPDOWN event and may
also display the menu previously associated with the item with
wxToolBar::SetDropdownMenu(). Currently this type of tools is supported
under MSW and GTK.

View File

@@ -53,7 +53,7 @@ enum
@appearance{genericdirctrl}
@event{EVT_DIRCTRL_CHANGED(id, func)}
Selected directory has changed.
Processes a @c wxEVT_COMMAND_DIRCTRL_CHANGED event type.
Processes a @c wxEVT_DIRCTRL_CHANGED event type.
Notice that this event is generated even for the changes done by the
program itself and not only those done by the user.
@since 2.9.5

View File

@@ -113,7 +113,7 @@ public:
this event.
@param eventType
The unique type of event, e.g. @c wxEVT_PAINT, @c wxEVT_SIZE or
@c wxEVT_COMMAND_BUTTON_CLICKED.
@c wxEVT_BUTTON.
*/
wxEvent(int id = 0, wxEventType eventType = wxEVT_NULL);
@@ -144,7 +144,7 @@ public:
wxObject* GetEventObject() const;
/**
Returns the identifier of the given event type, such as @c wxEVT_COMMAND_BUTTON_CLICKED.
Returns the identifier of the given event type, such as @c wxEVT_BUTTON.
*/
wxEventType GetEventType() const;
@@ -775,7 +775,7 @@ public:
Example:
@code
frame->Connect( wxID_EXIT,
wxEVT_COMMAND_MENU_SELECTED,
wxEVT_MENU,
wxCommandEventHandler(MyFrame::OnQuit) );
@endcode
@@ -1905,59 +1905,59 @@ public:
Process a command for a range of window identifiers, supplying the minimum and
maximum window identifiers, command event identifier, and member function.
@event{EVT_BUTTON(id, func)}
Process a @c wxEVT_COMMAND_BUTTON_CLICKED command, which is generated by a wxButton control.
Process a @c wxEVT_BUTTON command, which is generated by a wxButton control.
@event{EVT_CHECKBOX(id, func)}
Process a @c wxEVT_COMMAND_CHECKBOX_CLICKED command, which is generated by a wxCheckBox control.
Process a @c wxEVT_CHECKBOX command, which is generated by a wxCheckBox control.
@event{EVT_CHOICE(id, func)}
Process a @c wxEVT_COMMAND_CHOICE_SELECTED command, which is generated by a wxChoice control.
Process a @c wxEVT_CHOICE command, which is generated by a wxChoice control.
@event{EVT_COMBOBOX(id, func)}
Process a @c wxEVT_COMMAND_COMBOBOX_SELECTED command, which is generated by a wxComboBox control.
Process a @c wxEVT_COMBOBOX command, which is generated by a wxComboBox control.
@event{EVT_LISTBOX(id, func)}
Process a @c wxEVT_COMMAND_LISTBOX_SELECTED command, which is generated by a wxListBox control.
Process a @c wxEVT_LISTBOX command, which is generated by a wxListBox control.
@event{EVT_LISTBOX_DCLICK(id, func)}
Process a @c wxEVT_COMMAND_LISTBOX_DOUBLECLICKED command, which is generated by a wxListBox control.
Process a @c wxEVT_LISTBOX_DCLICK command, which is generated by a wxListBox control.
@event{EVT_CHECKLISTBOX(id, func)}
Process a @c wxEVT_COMMAND_CHECKLISTBOX_TOGGLED command, which is generated by a wxCheckListBox control.
Process a @c wxEVT_CHECKLISTBOX command, which is generated by a wxCheckListBox control.
@event{EVT_MENU(id, func)}
Process a @c wxEVT_COMMAND_MENU_SELECTED command, which is generated by a menu item.
Process a @c wxEVT_MENU command, which is generated by a menu item.
@event{EVT_MENU_RANGE(id1, id2, func)}
Process a @c wxEVT_COMMAND_MENU_RANGE command, which is generated by a range of menu items.
Process a @c wxEVT_MENU command, which is generated by a range of menu items.
@event{EVT_CONTEXT_MENU(func)}
Process the event generated when the user has requested a popup menu to appear by
pressing a special keyboard key (under Windows) or by right clicking the mouse.
@event{EVT_RADIOBOX(id, func)}
Process a @c wxEVT_COMMAND_RADIOBOX_SELECTED command, which is generated by a wxRadioBox control.
Process a @c wxEVT_RADIOBOX command, which is generated by a wxRadioBox control.
@event{EVT_RADIOBUTTON(id, func)}
Process a @c wxEVT_COMMAND_RADIOBUTTON_SELECTED command, which is generated by a wxRadioButton control.
Process a @c wxEVT_RADIOBUTTON command, which is generated by a wxRadioButton control.
@event{EVT_SCROLLBAR(id, func)}
Process a @c wxEVT_COMMAND_SCROLLBAR_UPDATED command, which is generated by a wxScrollBar
Process a @c wxEVT_SCROLLBAR command, which is generated by a wxScrollBar
control. This is provided for compatibility only; more specific scrollbar event macros
should be used instead (see wxScrollEvent).
@event{EVT_SLIDER(id, func)}
Process a @c wxEVT_COMMAND_SLIDER_UPDATED command, which is generated by a wxSlider control.
Process a @c wxEVT_SLIDER command, which is generated by a wxSlider control.
@event{EVT_TEXT(id, func)}
Process a @c wxEVT_COMMAND_TEXT_UPDATED command, which is generated by a wxTextCtrl control.
Process a @c wxEVT_TEXT command, which is generated by a wxTextCtrl control.
@event{EVT_TEXT_ENTER(id, func)}
Process a @c wxEVT_COMMAND_TEXT_ENTER command, which is generated by a wxTextCtrl control.
Process a @c wxEVT_TEXT_ENTER command, which is generated by a wxTextCtrl control.
Note that you must use wxTE_PROCESS_ENTER flag when creating the control if you want it
to generate such events.
@event{EVT_TEXT_MAXLEN(id, func)}
Process a @c wxEVT_COMMAND_TEXT_MAXLEN command, which is generated by a wxTextCtrl control
Process a @c wxEVT_TEXT_MAXLEN command, which is generated by a wxTextCtrl control
when the user tries to enter more characters into it than the limit previously set
with SetMaxLength().
@event{EVT_TOGGLEBUTTON(id, func)}
Process a @c wxEVT_COMMAND_TOGGLEBUTTON_CLICKED event.
Process a @c wxEVT_TOGGLEBUTTON event.
@event{EVT_TOOL(id, func)}
Process a @c wxEVT_COMMAND_TOOL_CLICKED event (a synonym for @c wxEVT_COMMAND_MENU_SELECTED).
Process a @c wxEVT_TOOL event (a synonym for @c wxEVT_MENU).
Pass the id of the tool.
@event{EVT_TOOL_RANGE(id1, id2, func)}
Process a @c wxEVT_COMMAND_TOOL_CLICKED event for a range of identifiers. Pass the ids of the tools.
Process a @c wxEVT_TOOL event for a range of identifiers. Pass the ids of the tools.
@event{EVT_TOOL_RCLICKED(id, func)}
Process a @c wxEVT_COMMAND_TOOL_RCLICKED event. Pass the id of the tool. (Not available on wxOSX.)
Process a @c wxEVT_TOOL_RCLICKED event. Pass the id of the tool. (Not available on wxOSX.)
@event{EVT_TOOL_RCLICKED_RANGE(id1, id2, func)}
Process a @c wxEVT_COMMAND_TOOL_RCLICKED event for a range of ids. Pass the ids of the tools. (Not available on wxOSX.)
Process a @c wxEVT_TOOL_RCLICKED event for a range of ids. Pass the ids of the tools. (Not available on wxOSX.)
@event{EVT_TOOL_ENTER(id, func)}
Process a @c wxEVT_COMMAND_TOOL_ENTER event. Pass the id of the toolbar itself.
Process a @c wxEVT_TOOL_ENTER event. Pass the id of the toolbar itself.
The value of wxCommandEvent::GetSelection() is the tool id, or -1 if the mouse cursor
has moved off a tool. (Not available on wxOSX.)
@event{EVT_COMMAND_LEFT_CLICK(id, func)}
@@ -2451,8 +2451,8 @@ public:
wxTextCtrl but other windows can generate these events as well) when its
content gets copied or cut to, or pasted from the clipboard.
There are three types of corresponding events @c wxEVT_COMMAND_TEXT_COPY,
@c wxEVT_COMMAND_TEXT_CUT and @c wxEVT_COMMAND_TEXT_PASTE.
There are three types of corresponding events @c wxEVT_TEXT_COPY,
@c wxEVT_TEXT_CUT and @c wxEVT_TEXT_PASTE.
If any of these events is processed (without being skipped) by an event
handler, the corresponding operation doesn't take place which allows to
@@ -4405,7 +4405,7 @@ wxEventType wxNewEventType();
This is mostly used by wxWidgets internally, e.g.
@code
wxDECLARE_EXPORTED_EVENT(WXDLLIMPEXP_CORE, wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEvent)
wxDECLARE_EXPORTED_EVENT(WXDLLIMPEXP_CORE, wxEVT_BUTTON, wxCommandEvent)
@endcode
*/
#define wxDECLARE_EXPORTED_EVENT( expdecl, name, cls ) \
@@ -4547,24 +4547,24 @@ void wxQueueEvent(wxEvtHandler* dest, wxEvent *event);
#if wxUSE_GUI
wxEventType wxEVT_COMMAND_BUTTON_CLICKED;
wxEventType wxEVT_COMMAND_CHECKBOX_CLICKED;
wxEventType wxEVT_COMMAND_CHOICE_SELECTED;
wxEventType wxEVT_COMMAND_LISTBOX_SELECTED;
wxEventType wxEVT_COMMAND_LISTBOX_DOUBLECLICKED;
wxEventType wxEVT_COMMAND_CHECKLISTBOX_TOGGLED;
wxEventType wxEVT_COMMAND_MENU_SELECTED;
wxEventType wxEVT_COMMAND_SLIDER_UPDATED;
wxEventType wxEVT_COMMAND_RADIOBOX_SELECTED;
wxEventType wxEVT_COMMAND_RADIOBUTTON_SELECTED;
wxEventType wxEVT_COMMAND_SCROLLBAR_UPDATED;
wxEventType wxEVT_COMMAND_VLBOX_SELECTED;
wxEventType wxEVT_COMMAND_COMBOBOX_SELECTED;
wxEventType wxEVT_COMMAND_TOOL_RCLICKED;
wxEventType wxEVT_COMMAND_TOOL_DROPDOWN_CLICKED;
wxEventType wxEVT_COMMAND_TOOL_ENTER;
wxEventType wxEVT_COMMAND_COMBOBOX_DROPDOWN;
wxEventType wxEVT_COMMAND_COMBOBOX_CLOSEUP;
wxEventType wxEVT_BUTTON;
wxEventType wxEVT_CHECKBOX;
wxEventType wxEVT_CHOICE;
wxEventType wxEVT_LISTBOX;
wxEventType wxEVT_LISTBOX_DCLICK;
wxEventType wxEVT_CHECKLISTBOX;
wxEventType wxEVT_MENU;
wxEventType wxEVT_SLIDER;
wxEventType wxEVT_RADIOBOX;
wxEventType wxEVT_RADIOBUTTON;
wxEventType wxEVT_SCROLLBAR;
wxEventType wxEVT_VLBOX;
wxEventType wxEVT_COMBOBOX;
wxEventType wxEVT_TOOL_RCLICKED;
wxEventType wxEVT_TOOL_DROPDOWN;
wxEventType wxEVT_TOOL_ENTER;
wxEventType wxEVT_COMBOBOX_DROPDOWN;
wxEventType wxEVT_COMBOBOX_CLOSEUP;
wxEventType wxEVT_THREAD;
wxEventType wxEVT_LEFT_DOWN;
wxEventType wxEVT_LEFT_UP;
@@ -4653,9 +4653,9 @@ wxEventType wxEVT_MOVING;
wxEventType wxEVT_MOVE_START;
wxEventType wxEVT_MOVE_END;
wxEventType wxEVT_HIBERNATE;
wxEventType wxEVT_COMMAND_TEXT_COPY;
wxEventType wxEVT_COMMAND_TEXT_CUT;
wxEventType wxEVT_COMMAND_TEXT_PASTE;
wxEventType wxEVT_TEXT_COPY;
wxEventType wxEVT_TEXT_CUT;
wxEventType wxEVT_TEXT_PASTE;
wxEventType wxEVT_COMMAND_LEFT_CLICK;
wxEventType wxEVT_COMMAND_LEFT_DCLICK;
wxEventType wxEVT_COMMAND_RIGHT_CLICK;
@@ -4665,7 +4665,7 @@ wxEventType wxEVT_COMMAND_KILL_FOCUS;
wxEventType wxEVT_COMMAND_ENTER;
wxEventType wxEVT_HELP;
wxEventType wxEVT_DETAILED_HELP;
wxEventType wxEVT_COMMAND_TOOL_CLICKED;
wxEventType wxEVT_TOOL;
wxEventType wxEVT_WINDOW_MODAL_DIALOG_CLOSED;
#endif // wxUSE_GUI

View File

@@ -95,11 +95,11 @@ public:
const wxString& GetReplaceString() const;
};
wxEventType wxEVT_COMMAND_FIND;
wxEventType wxEVT_COMMAND_FIND_NEXT;
wxEventType wxEVT_COMMAND_FIND_REPLACE;
wxEventType wxEVT_COMMAND_FIND_REPLACE_ALL;
wxEventType wxEVT_COMMAND_FIND_CLOSE;
wxEventType wxEVT_FIND;
wxEventType wxEVT_FIND_NEXT;
wxEventType wxEVT_FIND_REPLACE;
wxEventType wxEVT_FIND_REPLACE_ALL;
wxEventType wxEVT_FIND_CLOSE;

View File

@@ -21,8 +21,8 @@
#define wxDIRP_USE_TEXTCTRL (wxPB_USE_TEXTCTRL)
#define wxDIRP_DEFAULT_STYLE (wxDIRP_DIR_MUST_EXIST)
wxEventType wxEVT_COMMAND_FILEPICKER_CHANGED;
wxEventType wxEVT_COMMAND_DIRPICKER_CHANGED;
wxEventType wxEVT_FILEPICKER_CHANGED;
wxEventType wxEVT_DIRPICKER_CHANGED;
/**

View File

@@ -13,7 +13,7 @@
#define wxFNTP_USE_TEXTCTRL (wxPB_USE_TEXTCTRL)
#define wxFNTP_DEFAULT_STYLE (wxFNTP_FONTDESC_AS_LABEL|wxFNTP_USEFONT_FOR_LABEL)
wxEventType wxEVT_COMMAND_FONTPICKER_CHANGED;
wxEventType wxEVT_FONTPICKER_CHANGED;
/**

View File

@@ -708,16 +708,16 @@ public:
wxEventType wxEVT_COMMAND_HEADER_CLICK;
wxEventType wxEVT_COMMAND_HEADER_RIGHT_CLICK;
wxEventType wxEVT_COMMAND_HEADER_MIDDLE_CLICK;
wxEventType wxEVT_COMMAND_HEADER_DCLICK;
wxEventType wxEVT_COMMAND_HEADER_RIGHT_DCLICK;
wxEventType wxEVT_COMMAND_HEADER_MIDDLE_DCLICK;
wxEventType wxEVT_COMMAND_HEADER_SEPARATOR_DCLICK;
wxEventType wxEVT_COMMAND_HEADER_BEGIN_RESIZE;
wxEventType wxEVT_COMMAND_HEADER_RESIZING;
wxEventType wxEVT_COMMAND_HEADER_END_RESIZE;
wxEventType wxEVT_COMMAND_HEADER_BEGIN_REORDER;
wxEventType wxEVT_COMMAND_HEADER_END_REORDER;
wxEventType wxEVT_COMMAND_HEADER_DRAGGING_CANCELLED;
wxEventType wxEVT_HEADER_CLICK;
wxEventType wxEVT_HEADER_RIGHT_CLICK;
wxEventType wxEVT_HEADER_MIDDLE_CLICK;
wxEventType wxEVT_HEADER_DCLICK;
wxEventType wxEVT_HEADER_RIGHT_DCLICK;
wxEventType wxEVT_HEADER_MIDDLE_DCLICK;
wxEventType wxEVT_HEADER_SEPARATOR_DCLICK;
wxEventType wxEVT_HEADER_BEGIN_RESIZE;
wxEventType wxEVT_HEADER_RESIZING;
wxEventType wxEVT_HEADER_END_RESIZE;
wxEventType wxEVT_HEADER_BEGIN_REORDER;
wxEventType wxEVT_HEADER_END_REORDER;
wxEventType wxEVT_HEADER_DRAGGING_CANCELLED;

View File

@@ -511,9 +511,9 @@ protected:
wxEventType wxEVT_COMMAND_HTML_CELL_CLICKED;
wxEventType wxEVT_COMMAND_HTML_CELL_HOVER;
wxEventType wxEVT_COMMAND_HTML_LINK_CLICKED;
wxEventType wxEVT_HTML_CELL_CLICKED;
wxEventType wxEVT_HTML_CELL_HOVER;
wxEventType wxEVT_HTML_LINK_CLICKED;
/**

View File

@@ -182,10 +182,10 @@ protected:
@beginEventEmissionTable
@event{EVT_LISTBOX(id, func)}
Process a @c wxEVT_COMMAND_LISTBOX_SELECTED event, when an item on the list
Process a @c wxEVT_LISTBOX event, when an item on the list
is selected. See wxCommandEvent.
@event{EVT_LISTBOX_DCLICK(id, func)}
Process a @c wxEVT_COMMAND_LISTBOX_DOUBLECLICKED event, when the listbox is
Process a @c wxEVT_LISTBOX_DCLICK event, when the listbox is
double-clicked. See wxCommandEvent.
@event{EVT_HTML_CELL_CLICKED(id, func)}
A wxHtmlCell was clicked. See wxHtmlCellEvent.

View File

@@ -45,7 +45,7 @@ public:
};
wxEventType wxEVT_COMMAND_HYPERLINK;
wxEventType wxEVT_HYPERLINK;
/**
@class wxHyperlinkCtrl

View File

@@ -14,8 +14,8 @@
#define wxLB_RIGHT wxBK_RIGHT
#define wxLB_ALIGN_MASK wxBK_ALIGN_MASK
wxEventType wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED;
wxEventType wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING;
wxEventType wxEVT_LISTBOOK_PAGE_CHANGED;
wxEventType wxEVT_LISTBOOK_PAGE_CHANGING;
/**
@class wxListbook
@@ -48,10 +48,10 @@ wxEventType wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING;
@beginEventEmissionTable{wxBookCtrlEvent}
@event{EVT_LISTBOOK_PAGE_CHANGED(id, func)}
The page selection was changed.
Processes a @c wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED event.
Processes a @c wxEVT_LISTBOOK_PAGE_CHANGED event.
@event{EVT_LISTBOOK_PAGE_CHANGING(id, func)}
The page selection is about to be changed.
Processes a @c wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING event.
Processes a @c wxEVT_LISTBOOK_PAGE_CHANGING event.
This event can be vetoed.
@endEventTable

View File

@@ -58,10 +58,10 @@
@beginEventEmissionTable{wxCommandEvent}
@event{EVT_LISTBOX(id, func)}
Process a @c wxEVT_COMMAND_LISTBOX_SELECTED event, when an item on the
Process a @c wxEVT_LISTBOX event, when an item on the
list is selected or the selection changes.
@event{EVT_LISTBOX_DCLICK(id, func)}
Process a @c wxEVT_COMMAND_LISTBOX_DOUBLECLICKED event, when the listbox
Process a @c wxEVT_LISTBOX_DCLICK event, when the listbox
is double-clicked.
@endEventTable

View File

@@ -203,65 +203,65 @@ enum
@beginEventEmissionTable{wxListEvent}
@event{EVT_LIST_BEGIN_DRAG(id, func)}
Begin dragging with the left mouse button.
Processes a @c wxEVT_COMMAND_LIST_BEGIN_DRAG event type.
Processes a @c wxEVT_LIST_BEGIN_DRAG event type.
@event{EVT_LIST_BEGIN_RDRAG(id, func)}
Begin dragging with the right mouse button.
Processes a @c wxEVT_COMMAND_LIST_BEGIN_RDRAG event type.
Processes a @c wxEVT_LIST_BEGIN_RDRAG event type.
@event{EVT_BEGIN_LABEL_EDIT(id, func)}
Begin editing a label. This can be prevented by calling Veto().
Processes a @c wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT event type.
Processes a @c wxEVT_LIST_BEGIN_LABEL_EDIT event type.
@event{EVT_LIST_END_LABEL_EDIT(id, func)}
Finish editing a label. This can be prevented by calling Veto().
Processes a @c wxEVT_COMMAND_LIST_END_LABEL_EDIT event type.
Processes a @c wxEVT_LIST_END_LABEL_EDIT event type.
@event{EVT_LIST_DELETE_ITEM(id, func)}
An item was deleted.
Processes a @c wxEVT_COMMAND_LIST_DELETE_ITEM event type.
Processes a @c wxEVT_LIST_DELETE_ITEM event type.
@event{EVT_LIST_DELETE_ALL_ITEMS(id, func)}
All items were deleted.
Processes a @c wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS event type.
Processes a @c wxEVT_LIST_DELETE_ALL_ITEMS event type.
@event{EVT_LIST_ITEM_SELECTED(id, func)}
The item has been selected.
Processes a @c wxEVT_COMMAND_LIST_ITEM_SELECTED event type.
Processes a @c wxEVT_LIST_ITEM_SELECTED event type.
@event{EVT_LIST_ITEM_DESELECTED(id, func)}
The item has been deselected.
Processes a @c wxEVT_COMMAND_LIST_ITEM_DESELECTED event type.
Processes a @c wxEVT_LIST_ITEM_DESELECTED event type.
@event{EVT_LIST_ITEM_ACTIVATED(id, func)}
The item has been activated (ENTER or double click).
Processes a @c wxEVT_COMMAND_LIST_ITEM_ACTIVATED event type.
Processes a @c wxEVT_LIST_ITEM_ACTIVATED event type.
@event{EVT_LIST_ITEM_FOCUSED(id, func)}
The currently focused item has changed.
Processes a @c wxEVT_COMMAND_LIST_ITEM_FOCUSED event type.
Processes a @c wxEVT_LIST_ITEM_FOCUSED event type.
@event{EVT_LIST_ITEM_MIDDLE_CLICK(id, func)}
The middle mouse button has been clicked on an item. This is
only supported by the generic control.
Processes a @c wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK event type.
Processes a @c wxEVT_LIST_ITEM_MIDDLE_CLICK event type.
@event{EVT_LIST_ITEM_RIGHT_CLICK(id, func)}
The right mouse button has been clicked on an item.
Processes a @c wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK event type.
Processes a @c wxEVT_LIST_ITEM_RIGHT_CLICK event type.
@event{EVT_LIST_KEY_DOWN(id, func)}
A key has been pressed.
Processes a @c wxEVT_COMMAND_LIST_KEY_DOWN event type.
Processes a @c wxEVT_LIST_KEY_DOWN event type.
@event{EVT_LIST_INSERT_ITEM(id, func)}
An item has been inserted.
Processes a @c wxEVT_COMMAND_LIST_INSERT_ITEM event type.
Processes a @c wxEVT_LIST_INSERT_ITEM event type.
@event{EVT_LIST_COL_CLICK(id, func)}
A column (m_col) has been left-clicked.
Processes a @c wxEVT_COMMAND_LIST_COL_CLICK event type.
Processes a @c wxEVT_LIST_COL_CLICK event type.
@event{EVT_LIST_COL_RIGHT_CLICK(id, func)}
A column (m_col) has been right-clicked.
Processes a @c wxEVT_COMMAND_LIST_COL_RIGHT_CLICK event type.
Processes a @c wxEVT_LIST_COL_RIGHT_CLICK event type.
@event{EVT_LIST_COL_BEGIN_DRAG(id, func)}
The user started resizing a column - can be vetoed.
Processes a @c wxEVT_COMMAND_LIST_COL_BEGIN_DRAG event type.
Processes a @c wxEVT_LIST_COL_BEGIN_DRAG event type.
@event{EVT_LIST_COL_DRAGGING(id, func)}
The divider between columns is being dragged.
Processes a @c wxEVT_COMMAND_LIST_COL_DRAGGING event type.
Processes a @c wxEVT_LIST_COL_DRAGGING event type.
@event{EVT_LIST_COL_END_DRAG(id, func)}
A column has been resized by the user.
Processes a @c wxEVT_COMMAND_LIST_COL_END_DRAG event type.
Processes a @c wxEVT_LIST_COL_END_DRAG event type.
@event{EVT_LIST_CACHE_HINT(id, func)}
Prepare cache for a virtual list control.
Processes a @c wxEVT_COMMAND_LIST_CACHE_HINT event type.
Processes a @c wxEVT_LIST_CACHE_HINT event type.
@endEventTable
@@ -350,7 +350,7 @@ public:
/**
Deletes all items and all columns.
@note This sends an event of type @c wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
@note This sends an event of type @c wxEVT_LIST_DELETE_ALL_ITEMS
under all platforms.
*/
void ClearAll();
@@ -368,10 +368,10 @@ public:
/**
Deletes all items in the list control.
This function does @e not send the @c wxEVT_COMMAND_LIST_DELETE_ITEM
This function does @e not send the @c wxEVT_LIST_DELETE_ITEM
event because deleting many items from the control would be too slow
then (unlike wxListCtrl::DeleteItem) but it does send the special @c
wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS event if the control was not empty.
wxEVT_LIST_DELETE_ALL_ITEMS event if the control was not empty.
If it was already empty, nothing is done and no event is sent.
@return @true if the items were successfully deleted or if the control
@@ -387,7 +387,7 @@ public:
/**
Deletes the specified item.
This function sends the @c wxEVT_COMMAND_LIST_DELETE_ITEM event for the
This function sends the @c wxEVT_LIST_DELETE_ITEM event for the
item being deleted.
@see DeleteAllItems()
@@ -1426,26 +1426,26 @@ public:
};
wxEventType wxEVT_COMMAND_LIST_BEGIN_DRAG;
wxEventType wxEVT_COMMAND_LIST_BEGIN_RDRAG;
wxEventType wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT;
wxEventType wxEVT_COMMAND_LIST_END_LABEL_EDIT;
wxEventType wxEVT_COMMAND_LIST_DELETE_ITEM;
wxEventType wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS;
wxEventType wxEVT_COMMAND_LIST_ITEM_SELECTED;
wxEventType wxEVT_COMMAND_LIST_ITEM_DESELECTED;
wxEventType wxEVT_COMMAND_LIST_KEY_DOWN;
wxEventType wxEVT_COMMAND_LIST_INSERT_ITEM;
wxEventType wxEVT_COMMAND_LIST_COL_CLICK;
wxEventType wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK;
wxEventType wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK;
wxEventType wxEVT_COMMAND_LIST_ITEM_ACTIVATED;
wxEventType wxEVT_COMMAND_LIST_CACHE_HINT;
wxEventType wxEVT_COMMAND_LIST_COL_RIGHT_CLICK;
wxEventType wxEVT_COMMAND_LIST_COL_BEGIN_DRAG;
wxEventType wxEVT_COMMAND_LIST_COL_DRAGGING;
wxEventType wxEVT_COMMAND_LIST_COL_END_DRAG;
wxEventType wxEVT_COMMAND_LIST_ITEM_FOCUSED;
wxEventType wxEVT_LIST_BEGIN_DRAG;
wxEventType wxEVT_LIST_BEGIN_RDRAG;
wxEventType wxEVT_LIST_BEGIN_LABEL_EDIT;
wxEventType wxEVT_LIST_END_LABEL_EDIT;
wxEventType wxEVT_LIST_DELETE_ITEM;
wxEventType wxEVT_LIST_DELETE_ALL_ITEMS;
wxEventType wxEVT_LIST_ITEM_SELECTED;
wxEventType wxEVT_LIST_ITEM_DESELECTED;
wxEventType wxEVT_LIST_KEY_DOWN;
wxEventType wxEVT_LIST_INSERT_ITEM;
wxEventType wxEVT_LIST_COL_CLICK;
wxEventType wxEVT_LIST_ITEM_RIGHT_CLICK;
wxEventType wxEVT_LIST_ITEM_MIDDLE_CLICK;
wxEventType wxEVT_LIST_ITEM_ACTIVATED;
wxEventType wxEVT_LIST_CACHE_HINT;
wxEventType wxEVT_LIST_COL_RIGHT_CLICK;
wxEventType wxEVT_LIST_COL_BEGIN_DRAG;
wxEventType wxEVT_LIST_COL_DRAGGING;
wxEventType wxEVT_LIST_COL_END_DRAG;
wxEventType wxEVT_LIST_ITEM_FOCUSED;
/**

View File

@@ -474,7 +474,7 @@ public:
If the menu is part of a menubar, then wxMenuBar event processing is used.
With a popup menu (see wxWindow::PopupMenu), there is a variety of ways to
handle a menu selection event (@c wxEVT_COMMAND_MENU_SELECTED):
handle a menu selection event (@c wxEVT_MENU):
- Provide @c EVT_MENU handlers in the window which pops up the menu, or in an
ancestor of that window (the simplest method);
- Derive a new class from wxMenu and define event table entries using the @c EVT_MENU macro;

View File

@@ -19,10 +19,10 @@
@beginEventEmissionTable{wxCommandEvent,wxMenuEvent}
@event{EVT_MENU(id, func)}
Process a @c wxEVT_COMMAND_MENU_SELECTED command, which is generated by a menu item.
Process a @c wxEVT_MENU command, which is generated by a menu item.
This type of event is sent as wxCommandEvent.
@event{EVT_MENU_RANGE(id1, id2, func)}
Process a @c wxEVT_COMMAND_MENU_RANGE command, which is generated by a range of menu items.
Process a @c wxEVT_MENU command, which is generated by a range of menu items.
This type of event is sent as wxCommandEvent.
@event{EVT_MENU_OPEN(func)}
A menu is about to be opened. On Windows, this is only sent once for each

View File

@@ -26,8 +26,8 @@ enum
#define wxNB_NOPAGETHEME 0x0400
#define wxNB_FLAT 0x0800
wxEventType wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED;
wxEventType wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING;
wxEventType wxEVT_NOTEBOOK_PAGE_CHANGED;
wxEventType wxEVT_NOTEBOOK_PAGE_CHANGING;
/**
@@ -69,10 +69,10 @@ wxEventType wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING;
@beginEventEmissionTable{wxBookCtrlEvent}
@event{EVT_NOTEBOOK_PAGE_CHANGED(id, func)}
The page selection was changed.
Processes a @c wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED event.
Processes a @c wxEVT_NOTEBOOK_PAGE_CHANGED event.
@event{EVT_NOTEBOOK_PAGE_CHANGING(id, func)}
The page selection is about to be changed.
Processes a @c wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING event.
Processes a @c wxEVT_NOTEBOOK_PAGE_CHANGING event.
This event can be vetoed.
@endEventTable

View File

@@ -68,7 +68,7 @@ enum
@beginEventEmissionTable{wxCommandEvent}
@event{EVT_COMBOBOX(id, func)}
Process a wxEVT_COMMAND_COMBOBOX_SELECTED event, when an item on
Process a wxEVT_COMBOBOX event, when an item on
the list is selected. Note that calling GetValue() returns the new
value of selection.
@endEventTable

View File

@@ -94,7 +94,7 @@ public:
(see wxPGProperty::OnEvent() for more information).
@remarks wxPropertyGrid will automatically unfocus the editor when
@c wxEVT_COMMAND_TEXT_ENTER is received and when it results in
@c wxEVT_TEXT_ENTER is received and when it results in
property value being modified. This happens regardless of
editor type (ie. behaviour is same for any wxTextCtrl and
wxComboBox based editor).
@@ -236,7 +236,7 @@ public:
wxWindow* ctrl,
wxEvent& event ) const
{
if ( event.GetEventType() == wxEVT_COMMAND_BUTTON_CLICKED )
if ( event.GetEventType() == wxEVT_BUTTON )
{
wxPGMultiButton* buttons = (wxPGMultiButton*) propGrid->GetEditorControlSecondary();

View File

@@ -869,7 +869,7 @@ public:
usually processes most events. Some, such as button press events of
TextCtrlAndButton class, can be handled here. Also, if custom handling
for regular events is desired, then that can also be done (for example,
wxSystemColourProperty custom handles @c wxEVT_COMMAND_CHOICE_SELECTED
wxSystemColourProperty custom handles @c wxEVT_CHOICE
to display colour picker dialog when 'custom' selection is made).
If the event causes value to be changed, SetValueInEvent() should be called

View File

@@ -23,7 +23,7 @@
@beginEventEmissionTable{wxCommandEvent}
@event{EVT_RADIOBOX(id, func)}
Process a @c wxEVT_COMMAND_RADIOBOX_SELECTED event, when a radiobutton
Process a @c wxEVT_RADIOBOX event, when a radiobutton
is clicked.
@endEventTable

View File

@@ -29,7 +29,7 @@
@beginEventEmissionTable{wxCommandEvent}
@event{EVT_RADIOBUTTON(id, func)}
Process a @c wxEVT_COMMAND_RADIOBUTTON_SELECTED event, when the
Process a @c wxEVT_RADIOBUTTON event, when the
radiobutton is clicked.
@endEventTable
@@ -103,7 +103,7 @@ public:
/**
Sets the radio button to checked or unchecked status. This does not cause a
@c wxEVT_COMMAND_RADIOBUTTON_SELECTED event to get emitted.
@c wxEVT_RADIOBUTTON event to get emitted.
If the radio button belongs to a radio group exactly one button in the
group may be checked and so this method can be only called with @a

View File

@@ -167,8 +167,8 @@ public:
wxRichTextCtrl sends notification events: see wxRichTextEvent.
It also sends the standard wxTextCtrl events @c wxEVT_COMMAND_TEXT_ENTER and
@c wxEVT_COMMAND_TEXT_UPDATED, and wxTextUrlEvent when URL content is clicked.
It also sends the standard wxTextCtrl events @c wxEVT_TEXT_ENTER and
@c wxEVT_TEXT, and wxTextUrlEvent when URL content is clicked.
For more information, see the @ref overview_richtextctrl.
@@ -2265,66 +2265,66 @@ protected:
@beginEventTable{wxRichTextEvent}
@event{EVT_RICHTEXT_LEFT_CLICK(id, func)}
Process a @c wxEVT_COMMAND_RICHTEXT_LEFT_CLICK event, generated when the user
Process a @c wxEVT_RICHTEXT_LEFT_CLICK event, generated when the user
releases the left mouse button over an object.
@event{EVT_RICHTEXT_RIGHT_CLICK(id, func)}
Process a @c wxEVT_COMMAND_RICHTEXT_RIGHT_CLICK event, generated when the user
Process a @c wxEVT_RICHTEXT_RIGHT_CLICK event, generated when the user
releases the right mouse button over an object.
@event{EVT_RICHTEXT_MIDDLE_CLICK(id, func)}
Process a @c wxEVT_COMMAND_RICHTEXT_MIDDLE_CLICK event, generated when the user
Process a @c wxEVT_RICHTEXT_MIDDLE_CLICK event, generated when the user
releases the middle mouse button over an object.
@event{EVT_RICHTEXT_LEFT_DCLICK(id, func)}
Process a @c wxEVT_COMMAND_RICHTEXT_LEFT_DCLICK event, generated when the user
Process a @c wxEVT_RICHTEXT_LEFT_DCLICK event, generated when the user
double-clicks an object.
@event{EVT_RICHTEXT_RETURN(id, func)}
Process a @c wxEVT_COMMAND_RICHTEXT_RETURN event, generated when the user
Process a @c wxEVT_RICHTEXT_RETURN event, generated when the user
presses the return key. Valid event functions: GetFlags, GetPosition.
@event{EVT_RICHTEXT_CHARACTER(id, func)}
Process a @c wxEVT_COMMAND_RICHTEXT_CHARACTER event, generated when the user
Process a @c wxEVT_RICHTEXT_CHARACTER event, generated when the user
presses a character key. Valid event functions: GetFlags, GetPosition, GetCharacter.
@event{EVT_RICHTEXT_DELETE(id, func)}
Process a @c wxEVT_COMMAND_RICHTEXT_DELETE event, generated when the user
Process a @c wxEVT_RICHTEXT_DELETE event, generated when the user
presses the backspace or delete key. Valid event functions: GetFlags, GetPosition.
@event{EVT_RICHTEXT_RETURN(id, func)}
Process a @c wxEVT_COMMAND_RICHTEXT_RETURN event, generated when the user
Process a @c wxEVT_RICHTEXT_RETURN event, generated when the user
presses the return key. Valid event functions: GetFlags, GetPosition.
@event{EVT_RICHTEXT_STYLE_CHANGED(id, func)}
Process a @c wxEVT_COMMAND_RICHTEXT_STYLE_CHANGED event, generated when
Process a @c wxEVT_RICHTEXT_STYLE_CHANGED event, generated when
styling has been applied to the control. Valid event functions: GetPosition, GetRange.
@event{EVT_RICHTEXT_STYLESHEET_CHANGED(id, func)}
Process a @c wxEVT_COMMAND_RICHTEXT_STYLESHEET_CHANGING event, generated
Process a @c wxEVT_RICHTEXT_STYLESHEET_CHANGING event, generated
when the control's stylesheet has changed, for example the user added,
edited or deleted a style. Valid event functions: GetRange, GetPosition.
@event{EVT_RICHTEXT_STYLESHEET_REPLACING(id, func)}
Process a @c wxEVT_COMMAND_RICHTEXT_STYLESHEET_REPLACING event, generated
Process a @c wxEVT_RICHTEXT_STYLESHEET_REPLACING event, generated
when the control's stylesheet is about to be replaced, for example when
a file is loaded into the control.
Valid event functions: Veto, GetOldStyleSheet, GetNewStyleSheet.
@event{EVT_RICHTEXT_STYLESHEET_REPLACED(id, func)}
Process a @c wxEVT_COMMAND_RICHTEXT_STYLESHEET_REPLACED event, generated
Process a @c wxEVT_RICHTEXT_STYLESHEET_REPLACED event, generated
when the control's stylesheet has been replaced, for example when a file
is loaded into the control.
Valid event functions: GetOldStyleSheet, GetNewStyleSheet.
@event{EVT_RICHTEXT_PROPERTIES_CHANGED(id, func)}
Process a @c wxEVT_COMMAND_RICHTEXT_PROPERTIES_CHANGED event, generated when
Process a @c wxEVT_RICHTEXT_PROPERTIES_CHANGED event, generated when
properties have been applied to the control. Valid event functions: GetPosition, GetRange.
@event{EVT_RICHTEXT_CONTENT_INSERTED(id, func)}
Process a @c wxEVT_COMMAND_RICHTEXT_CONTENT_INSERTED event, generated when
Process a @c wxEVT_RICHTEXT_CONTENT_INSERTED event, generated when
content has been inserted into the control.
Valid event functions: GetPosition, GetRange.
@event{EVT_RICHTEXT_CONTENT_DELETED(id, func)}
Process a @c wxEVT_COMMAND_RICHTEXT_CONTENT_DELETED event, generated when
Process a @c wxEVT_RICHTEXT_CONTENT_DELETED event, generated when
content has been deleted from the control.
Valid event functions: GetPosition, GetRange.
@event{EVT_RICHTEXT_BUFFER_RESET(id, func)}
Process a @c wxEVT_COMMAND_RICHTEXT_BUFFER_RESET event, generated when the
Process a @c wxEVT_RICHTEXT_BUFFER_RESET event, generated when the
buffer has been reset by deleting all content.
You can use this to set a default style for the first new paragraph.
@event{EVT_RICHTEXT_SELECTION_CHANGED(id, func)}
Process a @c wxEVT_COMMAND_RICHTEXT_SELECTION_CHANGED event, generated when the
Process a @c wxEVT_RICHTEXT_SELECTION_CHANGED event, generated when the
selection range has changed.
@event{EVT_RICHTEXT_FOCUS_OBJECT_CHANGED(id, func)}
Process a @c wxEVT_COMMAND_RICHTEXT_FOCUS_OBJECT_CHANGED event, generated when the
Process a @c wxEVT_RICHTEXT_FOCUS_OBJECT_CHANGED event, generated when the
current focus object has changed.
@endEventTable
@@ -2386,8 +2386,8 @@ public:
/**
Returns the old style sheet.
Can be used in a @c wxEVT_COMMAND_RICHTEXT_STYLESHEET_CHANGING or
@c wxEVT_COMMAND_RICHTEXT_STYLESHEET_CHANGED event handler.
Can be used in a @c wxEVT_RICHTEXT_STYLESHEET_CHANGING or
@c wxEVT_RICHTEXT_STYLESHEET_CHANGED event handler.
*/
wxRichTextStyleSheet* GetOldStyleSheet() const { return m_oldStyleSheet; }
@@ -2399,8 +2399,8 @@ public:
/**
Returns the new style sheet.
Can be used in a @c wxEVT_COMMAND_RICHTEXT_STYLESHEET_CHANGING or
@c wxEVT_COMMAND_RICHTEXT_STYLESHEET_CHANGED event handler.
Can be used in a @c wxEVT_RICHTEXT_STYLESHEET_CHANGING or
@c wxEVT_RICHTEXT_STYLESHEET_CHANGED event handler.
*/
wxRichTextStyleSheet* GetNewStyleSheet() const { return m_newStyleSheet; }
@@ -2420,7 +2420,7 @@ public:
void SetRange(const wxRichTextRange& range) { m_range = range; }
/**
Returns the character pressed, within a @c wxEVT_COMMAND_RICHTEXT_CHARACTER event.
Returns the character pressed, within a @c wxEVT_RICHTEXT_CHARACTER event.
*/
wxChar GetCharacter() const { return m_char; }

View File

@@ -27,8 +27,8 @@
appearance of its own.
There are also no special events, this class reuses
@c wxEVT_COMMAND_BOOKCTRL_PAGE_CHANGING and @c
wxEVT_COMMAND_BOOKCTRL_PAGE_CHANGED events for the events it generates if
@c wxEVT_BOOKCTRL_PAGE_CHANGING and @c
wxEVT_BOOKCTRL_PAGE_CHANGED events for the events it generates if
the program calls SetSelection().
@library{none}

View File

@@ -117,7 +117,7 @@
@event{EVT_COMMAND_SCROLL_CHANGED(func)}
Process @c wxEVT_SCROLL_CHANGED end of scrolling events (MSW only).
@event{EVT_SLIDER(id, func)}
Process @c wxEVT_COMMAND_SLIDER_UPDATED which is generated after any
Process @c wxEVT_SLIDER which is generated after any
change of wxSlider position in addition to one of the events above.
@endEventTable

View File

@@ -17,7 +17,7 @@
@style{wxSP_WRAP}
The value wraps at the minimum and maximum.
@style{wxTE_PROCESS_ENTER}
Indicates that the control should generate @c wxEVT_COMMAND_TEXT_ENTER
Indicates that the control should generate @c wxEVT_TEXT_ENTER
events. Using this style will prevent the user from using the Enter key
for dialog navigation (e.g. activating the default button in the
dialog) under MSW.
@@ -33,7 +33,7 @@
@beginEventEmissionTable{wxSpinEvent}
@event{EVT_SPINCTRL(id, func)}
Process a wxEVT_COMMAND_SPINCTRL_UPDATED event, which is generated
Process a wxEVT_SPINCTRL event, which is generated
whenever the numeric value of the spin control is updated.
@endEventTable
@@ -164,7 +164,7 @@ public:
Notice that calling this method may change the value of the control if
it's not inside the new valid range, e.g. it will become @a minVal if
it is less than it now. However no @c wxEVT_COMMAND_SPINCTRL_UPDATED
it is less than it now. However no @c wxEVT_SPINCTRL
event is generated, even if it the value does change.
*/
void SetRange(int minVal, int maxVal);
@@ -373,5 +373,5 @@ public:
void SetValue(double value);
};
wxEventType wxEVT_COMMAND_SPINCTRL_UPDATED;
wxEventType wxEVT_COMMAND_SPINCTRLDOUBLE_UPDATED;
wxEventType wxEVT_SPINCTRL;
wxEventType wxEVT_SPINCTRLDOUBLE;

View File

@@ -68,17 +68,17 @@ enum
The sash position is in the process of being changed.
May be used to modify the position of the tracking bar to properly
reflect the position that would be set if the drag were to be completed
at this point. Processes a @c wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING event.
at this point. Processes a @c wxEVT_SPLITTER_SASH_POS_CHANGING event.
@event{EVT_SPLITTER_SASH_POS_CHANGED(id, func)}
The sash position was changed. May be used to modify the sash position
before it is set, or to prevent the change from taking place.
Processes a @c wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED event.
Processes a @c wxEVT_SPLITTER_SASH_POS_CHANGED event.
@event{EVT_SPLITTER_UNSPLIT(id, func)}
The splitter has been just unsplit. Processes a @c wxEVT_COMMAND_SPLITTER_UNSPLIT event.
The splitter has been just unsplit. Processes a @c wxEVT_SPLITTER_UNSPLIT event.
@event{EVT_SPLITTER_DCLICK(id, func)}
The sash was double clicked. The default behaviour is to unsplit the
window when this happens (unless the minimum pane size has been set
to a value greater than zero). Processes a @c wxEVT_COMMAND_SPLITTER_DOUBLECLICKED event.
to a value greater than zero). Processes a @c wxEVT_SPLITTER_DOUBLECLICKED event.
@endEventTable
@@ -475,17 +475,17 @@ public:
The sash position is in the process of being changed.
May be used to modify the position of the tracking bar to properly
reflect the position that would be set if the drag were to be completed
at this point. Processes a @c wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING event.
at this point. Processes a @c wxEVT_SPLITTER_SASH_POS_CHANGING event.
@event{EVT_SPLITTER_SASH_POS_CHANGED(id, func)}
The sash position was changed. May be used to modify the sash position
before it is set, or to prevent the change from taking place.
Processes a @c wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED event.
Processes a @c wxEVT_SPLITTER_SASH_POS_CHANGED event.
@event{EVT_SPLITTER_UNSPLIT(id, func)}
The splitter has been just unsplit. Processes a @c wxEVT_COMMAND_SPLITTER_UNSPLIT event.
The splitter has been just unsplit. Processes a @c wxEVT_SPLITTER_UNSPLIT event.
@event{EVT_SPLITTER_DCLICK(id, func)}
The sash was double clicked. The default behaviour is to unsplit the
window when this happens (unless the minimum pane size has been set
to a value greater than zero). Processes a @c wxEVT_COMMAND_SPLITTER_DOUBLECLICKED event.
to a value greater than zero). Processes a @c wxEVT_SPLITTER_DOUBLECLICKED event.
@endEventTable
@library{wxcore}
@@ -506,8 +506,8 @@ public:
Returns the new sash position.
May only be called while processing
@c wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING and
@c wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED events.
@c wxEVT_SPLITTER_SASH_POS_CHANGING and
@c wxEVT_SPLITTER_SASH_POS_CHANGED events.
*/
int GetSashPosition() const;
@@ -516,7 +516,7 @@ public:
is unsplit.
May only be called while processing
@c wxEVT_COMMAND_SPLITTER_UNSPLIT events.
@c wxEVT_SPLITTER_UNSPLIT events.
*/
wxWindow* GetWindowBeingRemoved() const;
@@ -524,7 +524,7 @@ public:
Returns the x coordinate of the double-click point.
May only be called while processing
@c wxEVT_COMMAND_SPLITTER_DOUBLECLICKED events.
@c wxEVT_SPLITTER_DOUBLECLICKED events.
*/
int GetX() const;
@@ -532,21 +532,21 @@ public:
Returns the y coordinate of the double-click point.
May only be called while processing
@c wxEVT_COMMAND_SPLITTER_DOUBLECLICKED events.
@c wxEVT_SPLITTER_DOUBLECLICKED events.
*/
int GetY() const;
/**
In the case of @c wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED events,
In the case of @c wxEVT_SPLITTER_SASH_POS_CHANGED events,
sets the new sash position.
In the case of @c wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING events,
In the case of @c wxEVT_SPLITTER_SASH_POS_CHANGING events,
sets the new tracking bar position so visual feedback during dragging will
represent that change that will actually take place. Set to -1 from
the event handler code to prevent repositioning.
May only be called while processing
@c wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING and
@c wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED events.
@c wxEVT_SPLITTER_SASH_POS_CHANGING and
@c wxEVT_SPLITTER_SASH_POS_CHANGED events.
@param pos
New sash position.
@@ -555,7 +555,7 @@ public:
};
wxEventType wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED;
wxEventType wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING;
wxEventType wxEVT_COMMAND_SPLITTER_DOUBLECLICKED;
wxEventType wxEVT_COMMAND_SPLITTER_UNSPLIT;
wxEventType wxEVT_SPLITTER_SASH_POS_CHANGED;
wxEventType wxEVT_SPLITTER_SASH_POS_CHANGING;
wxEventType wxEVT_SPLITTER_DOUBLECLICKED;
wxEventType wxEVT_SPLITTER_UNSPLIT;

View File

@@ -14,7 +14,7 @@
@beginStyleTable
@style{wxTE_PROCESS_ENTER}
The control will generate the event @c wxEVT_COMMAND_TEXT_ENTER
The control will generate the event @c wxEVT_TEXT_ENTER
(otherwise pressing Enter key is either processed internally by the
control or used for navigation between dialog controls).
@style{wxTE_PROCESS_TAB}
@@ -167,5 +167,5 @@ public:
};
wxEventType wxEVT_COMMAND_SEARCHCTRL_CANCEL_BTN;
wxEventType wxEVT_COMMAND_SEARCHCTRL_SEARCH_BTN;
wxEventType wxEVT_SEARCHCTRL_CANCEL_BTN;
wxEventType wxEVT_SEARCHCTRL_SEARCH_BTN;

View File

@@ -938,7 +938,7 @@ public:
@beginStyleTable
@style{wxTE_PROCESS_ENTER}
The control will generate the event @c wxEVT_COMMAND_TEXT_ENTER
The control will generate the event @c wxEVT_TEXT_ENTER
(otherwise pressing Enter key is either processed internally by the
control or used for navigation between dialog controls).
@style{wxTE_PROCESS_TAB}
@@ -1133,14 +1133,14 @@ public:
@beginEventEmissionTable{wxCommandEvent}
@event{EVT_TEXT(id, func)}
Respond to a @c wxEVT_COMMAND_TEXT_UPDATED event, generated when the text
Respond to a @c wxEVT_TEXT event, generated when the text
changes. Notice that this event will be sent when the text controls
contents changes -- whether this is due to user input or comes from the
program itself (for example, if wxTextCtrl::SetValue() is called); see
wxTextCtrl::ChangeValue() for a function which does not send this event.
This event is however not sent during the control creation.
@event{EVT_TEXT_ENTER(id, func)}
Respond to a @c wxEVT_COMMAND_TEXT_ENTER event, generated when enter is
Respond to a @c wxEVT_TEXT_ENTER event, generated when enter is
pressed in a text control which must have wxTE_PROCESS_ENTER style for
this event to be generated.
@event{EVT_TEXT_URL(id, func)}
@@ -1557,10 +1557,10 @@ public:
wxEventType wxEVT_COMMAND_TEXT_UPDATED;
wxEventType wxEVT_COMMAND_TEXT_ENTER;
wxEventType wxEVT_COMMAND_TEXT_URL;
wxEventType wxEVT_COMMAND_TEXT_MAXLEN;
wxEventType wxEVT_TEXT;
wxEventType wxEVT_TEXT_ENTER;
wxEventType wxEVT_TEXT_URL;
wxEventType wxEVT_TEXT_MAXLEN;
class wxTextUrlEvent : public wxCommandEvent

View File

@@ -180,7 +180,7 @@ public:
The insertion point is set to the start of the control (i.e. position
0) by this function.
This functions does not generate the @c wxEVT_COMMAND_TEXT_UPDATED
This functions does not generate the @c wxEVT_TEXT
event but otherwise is identical to SetValue().
See @ref overview_events_prog for more information.
@@ -196,7 +196,7 @@ public:
/**
Clears the text in the control.
Note that this function will generate a @c wxEVT_COMMAND_TEXT_UPDATED
Note that this function will generate a @c wxEVT_TEXT
event, i.e. its effect is identical to calling @c SetValue("").
*/
virtual void Clear();
@@ -401,7 +401,7 @@ public:
and the user may enter as much text as the underlying native text control widget
supports (typically at least 32Kb).
If the user tries to enter more characters into the text control when it
already is filled up to the maximal length, a @c wxEVT_COMMAND_TEXT_MAXLEN
already is filled up to the maximal length, a @c wxEVT_TEXT_MAXLEN
event is sent to notify the program about it (giving it the possibility
to show an explanatory message, for example) and the extra input is discarded.
@@ -524,7 +524,7 @@ public:
0) by this function.
Note that, unlike most other functions changing the controls values,
this function generates a @c wxEVT_COMMAND_TEXT_UPDATED event. To avoid
this function generates a @c wxEVT_TEXT event. To avoid
this you can use ChangeValue() instead.
@param value

View File

@@ -7,7 +7,7 @@
/////////////////////////////////////////////////////////////////////////////
wxEventType wxEVT_COMMAND_TOGGLEBUTTON_CLICKED;
wxEventType wxEVT_TOGGLEBUTTON;
/**
@class wxToggleButton
@@ -21,7 +21,7 @@ wxEventType wxEVT_COMMAND_TOGGLEBUTTON_CLICKED;
@beginEventEmissionTable{wxCommandEvent}
@event{EVT_TOGGLEBUTTON(id, func)}
Handles a wxEVT_COMMAND_TOGGLEBUTTON_CLICKED event.
Handles a wxEVT_TOGGLEBUTTON event.
@endEventTable
@library{wxcore}
@@ -121,7 +121,7 @@ public:
@beginEventEmissionTable{wxCommandEvent}
@event{EVT_TOGGLEBUTTON(id, func)}
Handles a wxEVT_COMMAND_TOGGLEBUTTON_CLICKED event.
Handles a wxEVT_TOGGLEBUTTON event.
@endEventTable
@library{wxcore}

View File

@@ -230,27 +230,27 @@ public:
@beginEventEmissionTable{wxCommandEvent}
@event{EVT_TOOL(id, func)}
Process a @c wxEVT_COMMAND_TOOL_CLICKED event (a synonym for @c
wxEVT_COMMAND_MENU_SELECTED). Pass the id of the tool.
Process a @c wxEVT_TOOL event (a synonym for @c
wxEVT_MENU). Pass the id of the tool.
@event{EVT_MENU(id, func)}
The same as EVT_TOOL().
@event{EVT_TOOL_RANGE(id1, id2, func)}
Process a @c wxEVT_COMMAND_TOOL_CLICKED event for a range of
Process a @c wxEVT_TOOL event for a range of
identifiers. Pass the ids of the tools.
@event{EVT_MENU_RANGE(id1, id2, func)}
The same as EVT_TOOL_RANGE().
@event{EVT_TOOL_RCLICKED(id, func)}
Process a @c wxEVT_COMMAND_TOOL_RCLICKED event. Pass the id of the
Process a @c wxEVT_TOOL_RCLICKED event. Pass the id of the
tool. (Not available on wxOSX.)
@event{EVT_TOOL_RCLICKED_RANGE(id1, id2, func)}
Process a @c wxEVT_COMMAND_TOOL_RCLICKED event for a range of ids. Pass
Process a @c wxEVT_TOOL_RCLICKED event for a range of ids. Pass
the ids of the tools. (Not available on wxOSX.)
@event{EVT_TOOL_ENTER(id, func)}
Process a @c wxEVT_COMMAND_TOOL_ENTER event. Pass the id of the toolbar
Process a @c wxEVT_TOOL_ENTER event. Pass the id of the toolbar
itself. The value of wxCommandEvent::GetSelection() is the tool id, or
-1 if the mouse cursor has moved off a tool. (Not available on wxOSX.)
@event{EVT_TOOL_DROPDOWN(id, func)}
Process a @c wxEVT_COMMAND_TOOL_DROPDOWN_CLICKED event. If unhandled,
Process a @c wxEVT_TOOL_DROPDOWN event. If unhandled,
displays the default dropdown menu set using
wxToolBar::SetDropdownMenu().
@endEventTable

View File

@@ -9,8 +9,8 @@
#define wxTBK_BUTTONBAR 0x0100
#define wxTBK_HORZ_LAYOUT 0x8000
wxEventType wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED;
wxEventType wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING;
wxEventType wxEVT_TOOLBOOK_PAGE_CHANGED;
wxEventType wxEVT_TOOLBOOK_PAGE_CHANGING;
/**
@@ -40,10 +40,10 @@ wxEventType wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING;
@beginEventEmissionTable{wxBookCtrlEvent}
@event{EVT_TOOLBOOK_PAGE_CHANGED(id, func)}
The page selection was changed.
Processes a @c wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED event.
Processes a @c wxEVT_TOOLBOOK_PAGE_CHANGED event.
@event{EVT_TOOLBOOK_PAGE_CHANGING(id, func)}
The page selection is about to be changed.
Processes a @c wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING event.
Processes a @c wxEVT_TOOLBOOK_PAGE_CHANGING event.
This event can be vetoed (using wxNotifyEvent::Veto()).
@endEventTable

View File

@@ -275,7 +275,7 @@ public:
Returns a wxMenu pointer representing the system menu of the window
under MSW. The returned wxMenu may be used, if non-@c NULL, to add
extra items to the system menu. The usual @c wxEVT_COMMAND_MENU_SELECTED
extra items to the system menu. The usual @c wxEVT_MENU
events (that can be processed using @c EVT_MENU event table macro) will
then be generated for them. All the other wxMenu methods may be used as
well but notice that they won't allow you to access any standard system

View File

@@ -7,10 +7,10 @@
/////////////////////////////////////////////////////////////////////////////
wxEventType wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED;
wxEventType wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING;
wxEventType wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED;
wxEventType wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED;
wxEventType wxEVT_TREEBOOK_PAGE_CHANGED;
wxEventType wxEVT_TREEBOOK_PAGE_CHANGING;
wxEventType wxEVT_TREEBOOK_NODE_COLLAPSED;
wxEventType wxEVT_TREEBOOK_NODE_EXPANDED;
/**
@class wxTreebook
@@ -30,17 +30,17 @@ wxEventType wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED;
@beginEventEmissionTable{wxBookCtrlEvent}
@event{EVT_TREEBOOK_PAGE_CHANGED(id, func)}
The page selection was changed.
Processes a @c wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED event.
Processes a @c wxEVT_TREEBOOK_PAGE_CHANGED event.
@event{EVT_TREEBOOK_PAGE_CHANGING(id, func)}
The page selection is about to be changed.
Processes a @c wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING event.
Processes a @c wxEVT_TREEBOOK_PAGE_CHANGING event.
This event can be @ref wxNotifyEvent::Veto() "vetoed".
@event{EVT_TREEBOOK_NODE_COLLAPSED(id, func)}
The page node is going to be collapsed.
Processes a @c wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED event.
Processes a @c wxEVT_TREEBOOK_NODE_COLLAPSED event.
@event{EVT_TREEBOOK_NODE_EXPANDED(id, func)}
The page node is going to be expanded.
Processes a @c wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED event.
Processes a @c wxEVT_TREEBOOK_NODE_EXPANDED event.
@endEventTable
@library{wxcore}

View File

@@ -73,73 +73,73 @@
Begin dragging with the left mouse button.
If you want to enable left-dragging you need to intercept this event
and explicitly call wxTreeEvent::Allow(), as it's vetoed by default.
Processes a @c wxEVT_COMMAND_TREE_BEGIN_DRAG event type.
Processes a @c wxEVT_TREE_BEGIN_DRAG event type.
@event{EVT_TREE_BEGIN_RDRAG(id, func)}
Begin dragging with the right mouse button.
If you want to enable right-dragging you need to intercept this event
and explicitly call wxTreeEvent::Allow(), as it's vetoed by default.
Processes a @c wxEVT_COMMAND_TREE_BEGIN_RDRAG event type.
Processes a @c wxEVT_TREE_BEGIN_RDRAG event type.
@event{EVT_TREE_END_DRAG(id, func)}
End dragging with the left or right mouse button.
Processes a @c wxEVT_COMMAND_TREE_END_DRAG event type.
Processes a @c wxEVT_TREE_END_DRAG event type.
@event{EVT_TREE_BEGIN_LABEL_EDIT(id, func)}
Begin editing a label. This can be prevented by calling Veto().
Processes a @c wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT event type.
Processes a @c wxEVT_TREE_BEGIN_LABEL_EDIT event type.
@event{EVT_TREE_END_LABEL_EDIT(id, func)}
Finish editing a label. This can be prevented by calling Veto().
Processes a @c wxEVT_COMMAND_TREE_END_LABEL_EDIT event type.
Processes a @c wxEVT_TREE_END_LABEL_EDIT event type.
@event{EVT_TREE_DELETE_ITEM(id, func)}
An item was deleted.
Processes a @c wxEVT_COMMAND_TREE_DELETE_ITEM event type.
Processes a @c wxEVT_TREE_DELETE_ITEM event type.
@event{EVT_TREE_GET_INFO(id, func)}
Request information from the application.
Processes a @c wxEVT_COMMAND_TREE_GET_INFO event type.
Processes a @c wxEVT_TREE_GET_INFO event type.
@event{EVT_TREE_SET_INFO(id, func)}
Information is being supplied.
Processes a @c wxEVT_COMMAND_TREE_SET_INFO event type.
Processes a @c wxEVT_TREE_SET_INFO event type.
@event{EVT_TREE_ITEM_ACTIVATED(id, func)}
The item has been activated, i.e. chosen by double clicking it with
mouse or from keyboard.
Processes a @c wxEVT_COMMAND_TREE_ITEM_ACTIVATED event type.
Processes a @c wxEVT_TREE_ITEM_ACTIVATED event type.
@event{EVT_TREE_ITEM_COLLAPSED(id, func)}
The item has been collapsed.
Processes a @c wxEVT_COMMAND_TREE_ITEM_COLLAPSED event type.
Processes a @c wxEVT_TREE_ITEM_COLLAPSED event type.
@event{EVT_TREE_ITEM_COLLAPSING(id, func)}
The item is being collapsed. This can be prevented by calling Veto().
Processes a @c wxEVT_COMMAND_TREE_ITEM_COLLAPSING event type.
Processes a @c wxEVT_TREE_ITEM_COLLAPSING event type.
@event{EVT_TREE_ITEM_EXPANDED(id, func)}
The item has been expanded.
Processes a @c wxEVT_COMMAND_TREE_ITEM_EXPANDED event type.
Processes a @c wxEVT_TREE_ITEM_EXPANDED event type.
@event{EVT_TREE_ITEM_EXPANDING(id, func)}
The item is being expanded. This can be prevented by calling Veto().
Processes a @c wxEVT_COMMAND_TREE_ITEM_EXPANDING event type.
Processes a @c wxEVT_TREE_ITEM_EXPANDING event type.
@event{EVT_TREE_ITEM_RIGHT_CLICK(id, func)}
The user has clicked the item with the right mouse button.
Processes a @c wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK event type.
Processes a @c wxEVT_TREE_ITEM_RIGHT_CLICK event type.
@event{EVT_TREE_ITEM_MIDDLE_CLICK(id, func)}
The user has clicked the item with the middle mouse button. This is
only supported by the generic control.
Processes a @c wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK event type.
Processes a @c wxEVT_TREE_ITEM_MIDDLE_CLICK event type.
@event{EVT_TREE_SEL_CHANGED(id, func)}
Selection has changed.
Processes a @c wxEVT_COMMAND_TREE_SEL_CHANGED event type.
Processes a @c wxEVT_TREE_SEL_CHANGED event type.
@event{EVT_TREE_SEL_CHANGING(id, func)}
Selection is changing. This can be prevented by calling Veto().
Processes a @c wxEVT_COMMAND_TREE_SEL_CHANGING event type.
Processes a @c wxEVT_TREE_SEL_CHANGING event type.
@event{EVT_TREE_KEY_DOWN(id, func)}
A key has been pressed.
Processes a @c wxEVT_COMMAND_TREE_KEY_DOWN event type.
Processes a @c wxEVT_TREE_KEY_DOWN event type.
@event{EVT_TREE_ITEM_GETTOOLTIP(id, func)}
The opportunity to set the item tooltip is being given to the application
(call wxTreeEvent::SetToolTip). Windows only.
Processes a @c wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP event type.
Processes a @c wxEVT_TREE_ITEM_GETTOOLTIP event type.
@event{EVT_TREE_ITEM_MENU(id, func)}
The context menu for the selected item has been requested, either by a
right click or by using the menu key.
Processes a @c wxEVT_COMMAND_TREE_ITEM_MENU event type.
Processes a @c wxEVT_TREE_ITEM_MENU event type.
@event{EVT_TREE_STATE_IMAGE_CLICK(id, func)}
The state image has been clicked.
Processes a @c wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK event type.
Processes a @c wxEVT_TREE_STATE_IMAGE_CLICK event type.
@endEventTable
@@ -795,7 +795,7 @@ public:
currently selected item if the value of @a select is @false.
Notice that calling this method will generate
@c wxEVT_COMMAND_TREE_SEL_CHANGING and @c wxEVT_COMMAND_TREE_SEL_CHANGED
@c wxEVT_TREE_SEL_CHANGING and @c wxEVT_TREE_SEL_CHANGED
events and that the change could be vetoed by the former event handler.
*/
virtual void SelectItem(const wxTreeItemId& item, bool select = true);
@@ -1120,25 +1120,25 @@ public:
};
wxEventType wxEVT_COMMAND_TREE_BEGIN_DRAG;
wxEventType wxEVT_COMMAND_TREE_BEGIN_RDRAG;
wxEventType wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT;
wxEventType wxEVT_COMMAND_TREE_END_LABEL_EDIT;
wxEventType wxEVT_COMMAND_TREE_DELETE_ITEM;
wxEventType wxEVT_COMMAND_TREE_GET_INFO;
wxEventType wxEVT_COMMAND_TREE_SET_INFO;
wxEventType wxEVT_COMMAND_TREE_ITEM_EXPANDED;
wxEventType wxEVT_COMMAND_TREE_ITEM_EXPANDING;
wxEventType wxEVT_COMMAND_TREE_ITEM_COLLAPSED;
wxEventType wxEVT_COMMAND_TREE_ITEM_COLLAPSING;
wxEventType wxEVT_COMMAND_TREE_SEL_CHANGED;
wxEventType wxEVT_COMMAND_TREE_SEL_CHANGING;
wxEventType wxEVT_COMMAND_TREE_KEY_DOWN;
wxEventType wxEVT_COMMAND_TREE_ITEM_ACTIVATED;
wxEventType wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK;
wxEventType wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK;
wxEventType wxEVT_COMMAND_TREE_END_DRAG;
wxEventType wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK;
wxEventType wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP;
wxEventType wxEVT_COMMAND_TREE_ITEM_MENU;
wxEventType wxEVT_TREE_BEGIN_DRAG;
wxEventType wxEVT_TREE_BEGIN_RDRAG;
wxEventType wxEVT_TREE_BEGIN_LABEL_EDIT;
wxEventType wxEVT_TREE_END_LABEL_EDIT;
wxEventType wxEVT_TREE_DELETE_ITEM;
wxEventType wxEVT_TREE_GET_INFO;
wxEventType wxEVT_TREE_SET_INFO;
wxEventType wxEVT_TREE_ITEM_EXPANDED;
wxEventType wxEVT_TREE_ITEM_EXPANDING;
wxEventType wxEVT_TREE_ITEM_COLLAPSED;
wxEventType wxEVT_TREE_ITEM_COLLAPSING;
wxEventType wxEVT_TREE_SEL_CHANGED;
wxEventType wxEVT_TREE_SEL_CHANGING;
wxEventType wxEVT_TREE_KEY_DOWN;
wxEventType wxEVT_TREE_ITEM_ACTIVATED;
wxEventType wxEVT_TREE_ITEM_RIGHT_CLICK;
wxEventType wxEVT_TREE_ITEM_MIDDLE_CLICK;
wxEventType wxEVT_TREE_END_DRAG;
wxEventType wxEVT_TREE_STATE_IMAGE_CLICK;
wxEventType wxEVT_TREE_ITEM_GETTOOLTIP;
wxEventType wxEVT_TREE_ITEM_MENU;

View File

@@ -219,7 +219,7 @@ extern const wxTreeListItem wxTLI_LAST;
@beginEventTable{wxTreeListEvent}
@event{EVT_TREELIST_SELECTION_CHANGED(id, func)}
Process @c wxEVT_COMMAND_TREELIST_SELECTION_CHANGED event and notifies
Process @c wxEVT_TREELIST_SELECTION_CHANGED event and notifies
about the selection change in the control. In the single selection case
the item indicated by the event has been selected and previously
selected item, if any, was deselected. In multiple selection case, the
@@ -228,26 +228,26 @@ extern const wxTreeListItem wxTLI_LAST;
could have changed as well, use wxTreeListCtrl::GetSelections() to
retrieve the new selection if necessary.
@event{EVT_TREELIST_ITEM_EXPANDING(id, func)}
Process @c wxEVT_COMMAND_TREELIST_ITEM_EXPANDING event notifying about
Process @c wxEVT_TREELIST_ITEM_EXPANDING event notifying about
the given branch being expanded. This event is sent before the
expansion occurs and can be vetoed to prevent it from happening.
@event{EVT_TREELIST_ITEM_EXPANDED(id, func)}
Process @c wxEVT_COMMAND_TREELIST_ITEM_EXPANDED event notifying about
Process @c wxEVT_TREELIST_ITEM_EXPANDED event notifying about
the expansion of the given branch. This event is sent after the
expansion occurs and can't be vetoed.
@event{EVT_TREELIST_ITEM_CHECKED(id, func)}
Process @c wxEVT_COMMAND_TREELIST_ITEM_CHECKED event notifying about
Process @c wxEVT_TREELIST_ITEM_CHECKED event notifying about
the user checking or unchecking the item. You can use
wxTreeListCtrl::GetCheckedState() to retrieve the new item state and
wxTreeListEvent::GetOldCheckedState() to get the previous one.
@event{EVT_TREELIST_ITEM_ACTIVATED(id, func)}
Process @c wxEVT_COMMAND_TREELIST_ITEM_ACTIVATED event notifying about
Process @c wxEVT_TREELIST_ITEM_ACTIVATED event notifying about
the user double clicking the item or activating it from keyboard.
@event{EVT_TREELIST_ITEM_CONTEXT_MENU(id, func)}
Process @c wxEVT_COMMAND_TREELIST_ITEM_CONTEXT_MENU event indicating
Process @c wxEVT_TREELIST_ITEM_CONTEXT_MENU event indicating
that the popup menu for the given item should be displayed.
@event{EVT_TREELIST_COLUMN_SORTED(id, func)}
Process @c wxEVT_COMMAND_TREELIST_COLUMN_SORTED event indicating that
Process @c wxEVT_TREELIST_COLUMN_SORTED event indicating that
the control contents has just been resorted using the specified column.
The event doesn't carry the sort direction, use GetSortColumn() method
if you need to know it.
@@ -909,7 +909,7 @@ public:
/**
Return the previous state of the item checkbox.
This method can be used with @c wxEVT_COMMAND_TREELIST_ITEM_CHECKED
This method can be used with @c wxEVT_TREELIST_ITEM_CHECKED
events only.
Notice that the new state of the item can be retrieved using
@@ -920,7 +920,7 @@ public:
/**
Return the column affected by the event.
This is currently only used with @c wxEVT_COMMAND_TREELIST_COLUMN_SORTED
This is currently only used with @c wxEVT_TREELIST_COLUMN_SORTED
event.
*/
unsigned GetColumn() const;
@@ -937,10 +937,10 @@ public:
wxEVENT_HANDLER_CAST(wxTreeListEventFunction, func)
wxEventType wxEVT_COMMAND_TREELIST_SELECTION_CHANGED;
wxEventType wxEVT_COMMAND_TREELIST_ITEM_EXPANDING;
wxEventType wxEVT_COMMAND_TREELIST_ITEM_EXPANDED;
wxEventType wxEVT_COMMAND_TREELIST_ITEM_CHECKED;
wxEventType wxEVT_COMMAND_TREELIST_ITEM_ACTIVATED;
wxEventType wxEVT_COMMAND_TREELIST_ITEM_CONTEXT_MENU;
wxEventType wxEVT_COMMAND_TREELIST_COLUMN_SORTED;
wxEventType wxEVT_TREELIST_SELECTION_CHANGED;
wxEventType wxEVT_TREELIST_ITEM_EXPANDING;
wxEventType wxEVT_TREELIST_ITEM_EXPANDED;
wxEventType wxEVT_TREELIST_ITEM_CHECKED;
wxEventType wxEVT_TREELIST_ITEM_ACTIVATED;
wxEventType wxEVT_TREELIST_ITEM_CONTEXT_MENU;
wxEventType wxEVT_TREELIST_COLUMN_SORTED;

View File

@@ -244,9 +244,9 @@ public:
immediately and perform their work in the background. This includes
functions such as LoadURL() and Reload(). To receive notification of the
progress and completion of these functions you need to handle the events
that are provided. Specifically @c wxEVT_COMMAND_WEBVIEW_LOADED notifies
that are provided. Specifically @c wxEVT_WEBVIEW_LOADED notifies
when the page or a sub-frame has finished loading and
@c wxEVT_COMMAND_WEBVIEW_ERROR notifies that an error has occurred.
@c wxEVT_WEBVIEW_ERROR notifies that an error has occurred.
@section vfs Virtual File Systems and Custom Schemes
@@ -266,31 +266,31 @@ public:
@beginEventEmissionTable{wxWebViewEvent}
@event{EVT_WEBVIEW_NAVIGATING(id, func)}
Process a @c wxEVT_COMMAND_WEBVIEW_NAVIGATING event, generated before trying
Process a @c wxEVT_WEBVIEW_NAVIGATING event, generated before trying
to get a resource. This event may be vetoed to prevent navigating to this
resource. Note that if the displayed HTML document has several frames, one
such event will be generated per frame.
@event{EVT_WEBVIEW_NAVIGATED(id, func)}
Process a @c wxEVT_COMMAND_WEBVIEW_NAVIGATED event generated after it was
Process a @c wxEVT_WEBVIEW_NAVIGATED event generated after it was
confirmed that a resource would be requested. This event may not be vetoed.
Note that if the displayed HTML document has several frames, one such event
will be generated per frame.
@event{EVT_WEBVIEW_LOADED(id, func)}
Process a @c wxEVT_COMMAND_WEBVIEW_LOADED event generated when the document
Process a @c wxEVT_WEBVIEW_LOADED event generated when the document
is fully loaded and displayed. Note that if the displayed HTML document has
several frames, one such event will be generated per frame.
@event{EVT_WEBVIEW_ERROR(id, func)}
Process a @c wxEVT_COMMAND_WEBVIEW_ERROR event generated when a navigation
Process a @c wxEVT_WEBVIEW_ERROR event generated when a navigation
error occurs.
The integer associated with this event will be a wxWebNavigationError item.
The string associated with this event may contain a backend-specific more
precise error message/code.
@event{EVT_WEBVIEW_NEWWINDOW(id, func)}
Process a @c wxEVT_COMMAND_WEBVIEW_NEWWINDOW event, generated when a new
Process a @c wxEVT_WEBVIEW_NEWWINDOW event, generated when a new
window is created. You must handle this event if you want anything to
happen, for example to load the page in a new window or tab.
@event{EVT_WEBVIEW_TITLE_CHANGED(id, func)}
Process a @c wxEVT_COMMAND_WEBVIEW_TITLE_CHANGED event, generated when
Process a @c wxEVT_WEBVIEW_TITLE_CHANGED event, generated when
the page title changes. Use GetString to get the title.
@endEventTable
@@ -738,31 +738,31 @@ public:
@beginEventEmissionTable{wxWebViewEvent}
@event{EVT_WEBVIEW_NAVIGATING(id, func)}
Process a @c wxEVT_COMMAND_WEBVIEW_NAVIGATING event, generated before trying
Process a @c wxEVT_WEBVIEW_NAVIGATING event, generated before trying
to get a resource. This event may be vetoed to prevent navigating to this
resource. Note that if the displayed HTML document has several frames, one
such event will be generated per frame.
@event{EVT_WEBVIEW_NAVIGATED(id, func)}
Process a @c wxEVT_COMMAND_WEBVIEW_NAVIGATED event generated after it was
Process a @c wxEVT_WEBVIEW_NAVIGATED event generated after it was
confirmed that a resource would be requested. This event may not be vetoed.
Note that if the displayed HTML document has several frames, one such event
will be generated per frame.
@event{EVT_WEBVIEW_LOADED(id, func)}
Process a @c wxEVT_COMMAND_WEBVIEW_LOADED event generated when the document
Process a @c wxEVT_WEBVIEW_LOADED event generated when the document
is fully loaded and displayed. Note that if the displayed HTML document has
several frames, one such event will be generated per frame.
@event{EVT_WEBVIEW_ERROR(id, func)}
Process a @c wxEVT_COMMAND_WEBVIEW_ERROR event generated when a navigation
Process a @c wxEVT_WEBVIEW_ERROR event generated when a navigation
error occurs.
The integer associated with this event will be a wxWebNavigationError item.
The string associated with this event may contain a backend-specific more
precise error message/code.
@event{EVT_WEBVIEW_NEWWINDOW(id, func)}
Process a @c wxEVT_COMMAND_WEBVIEW_NEWWINDOW event, generated when a new
Process a @c wxEVT_WEBVIEW_NEWWINDOW event, generated when a new
window is created. You must handle this event if you want anything to
happen, for example to load the page in a new window or tab.
@event{EVT_WEBVIEW_TITLE_CHANGED(id, func)}
Process a @c wxEVT_COMMAND_WEBVIEW_TITLE_CHANGED event, generated when
Process a @c wxEVT_WEBVIEW_TITLE_CHANGED event, generated when
the page title changes. Use GetString to get the title.
@endEventTable
@@ -793,9 +793,9 @@ public:
};
wxEventType wxEVT_COMMAND_WEBVIEW_NAVIGATING;
wxEventType wxEVT_COMMAND_WEBVIEW_NAVIGATED;
wxEventType wxEVT_COMMAND_WEBVIEW_LOADED;
wxEventType wxEVT_COMMAND_WEBVIEW_ERROR;
wxEventType wxEVT_COMMAND_WEBVIEW_NEWWINDOW;
wxEventType wxEVT_COMMAND_WEBVIEW_TITLE_CHANGED;
wxEventType wxEVT_WEBVIEW_NAVIGATING;
wxEventType wxEVT_WEBVIEW_NAVIGATED;
wxEventType wxEVT_WEBVIEW_LOADED;
wxEventType wxEVT_WEBVIEW_ERROR;
wxEventType wxEVT_WEBVIEW_NEWWINDOW;
wxEventType wxEVT_WEBVIEW_TITLE_CHANGED;