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:
@@ -124,25 +124,25 @@ public:
|
||||
/// Respond to colour change
|
||||
void OnColourChanged(wxCommandEvent& event);
|
||||
|
||||
/// wxEVT_COMMAND_LISTBOX_SELECTED event handler for wxID_FONTDIALOG_FACENAME
|
||||
/// wxEVT_LISTBOX event handler for wxID_FONTDIALOG_FACENAME
|
||||
void OnFontdialogFacenameSelected( wxCommandEvent& event );
|
||||
|
||||
/// wxEVT_COMMAND_SPINCTRL_UPDATED event handler for wxID_FONTDIALOG_FONTSIZE
|
||||
/// wxEVT_SPINCTRL event handler for wxID_FONTDIALOG_FONTSIZE
|
||||
void OnFontdialogFontsizeUpdated( wxSpinEvent& event );
|
||||
|
||||
/// wxEVT_COMMAND_TEXT_UPDATED event handler for wxID_FONTDIALOG_FONTSIZE
|
||||
/// wxEVT_TEXT event handler for wxID_FONTDIALOG_FONTSIZE
|
||||
void OnFontdialogFontsizeTextUpdated( wxCommandEvent& event );
|
||||
|
||||
/// wxEVT_COMMAND_CHECKBOX_CLICKED event handler for wxID_FONTDIALOG_BOLD
|
||||
/// wxEVT_CHECKBOX event handler for wxID_FONTDIALOG_BOLD
|
||||
void OnFontdialogBoldClick( wxCommandEvent& event );
|
||||
|
||||
/// wxEVT_COMMAND_CHECKBOX_CLICKED event handler for wxID_FONTDIALOG_ITALIC
|
||||
/// wxEVT_CHECKBOX event handler for wxID_FONTDIALOG_ITALIC
|
||||
void OnFontdialogItalicClick( wxCommandEvent& event );
|
||||
|
||||
/// wxEVT_COMMAND_CHECKBOX_CLICKED event handler for wxID_FONTDIALOG_UNDERLINED
|
||||
/// wxEVT_CHECKBOX event handler for wxID_FONTDIALOG_UNDERLINED
|
||||
void OnFontdialogUnderlinedClick( wxCommandEvent& event );
|
||||
|
||||
/// wxEVT_COMMAND_BUTTON_CLICKED event handler for wxID_OK
|
||||
/// wxEVT_BUTTON event handler for wxID_OK
|
||||
void OnOkClick( wxCommandEvent& event );
|
||||
|
||||
/// Should we show tooltips?
|
||||
|
Reference in New Issue
Block a user