]> git.saurik.com Git - wxWidgets.git/commit - src/ribbon/bar.cpp
Provide shorter synonyms for wxEVT_XXX constants.
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 25 Apr 2013 10:11:03 +0000 (10:11 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 25 Apr 2013 10:11:03 +0000 (10:11 +0000)
commitce7fe42e848cc0c9058dae906c3a7bded50681e6
tree21bede6bdf17742c50edfe28d04d117e3e38b0ba
parent3f7564f229450a9c036141878ee75cc09078a945
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
405 files changed:
demos/forty/playerdg.cpp
docs/changes.txt
include/wx/aui/auibar.h
include/wx/aui/auibook.h
include/wx/bookctrl.h
include/wx/choicebk.h
include/wx/clrpicker.h
include/wx/collpane.h
include/wx/dataview.h
include/wx/docview.h
include/wx/event.h
include/wx/fdrepdlg.h
include/wx/filepicker.h
include/wx/fontpicker.h
include/wx/generic/dirctrlg.h
include/wx/generic/filepickerg.h
include/wx/generic/headerctrlg.h
include/wx/generic/splitter.h
include/wx/headerctrl.h
include/wx/html/htmlwin.h
include/wx/hyperlink.h
include/wx/listbase.h
include/wx/listbook.h
include/wx/motif/checkbox.h
include/wx/motif/tglbtn.h
include/wx/msw/checklst.h
include/wx/notebook.h
include/wx/osx/fontdlg.h
include/wx/osx/treectrl.h
include/wx/propgrid/editors.h
include/wx/propgrid/property.h
include/wx/propgrid/propgrid.h
include/wx/propgrid/props.h
include/wx/ribbon/bar.h
include/wx/ribbon/buttonbar.h
include/wx/ribbon/gallery.h
include/wx/ribbon/panel.h
include/wx/ribbon/toolbar.h
include/wx/richtext/richtextborderspage.h
include/wx/richtext/richtextbulletspage.h
include/wx/richtext/richtextctrl.h
include/wx/richtext/richtextfontpage.h
include/wx/richtext/richtextindentspage.h
include/wx/richtext/richtextliststylepage.h
include/wx/richtext/richtextsizepage.h
include/wx/richtext/richtextstyledlg.h
include/wx/richtext/richtextsymboldlg.h
include/wx/richtext/richtexttabspage.h
include/wx/simplebook.h
include/wx/spinctrl.h
include/wx/splitter.h
include/wx/srchctrl.h
include/wx/textctrl.h
include/wx/textentry.h
include/wx/tglbtn.h
include/wx/toolbook.h
include/wx/treebase.h
include/wx/treebook.h
include/wx/treectrl.h
include/wx/treelist.h
include/wx/vlbox.h
include/wx/webview.h
interface/wx/aui/auibar.h
interface/wx/aui/auibook.h
interface/wx/bmpbuttn.h
interface/wx/bmpcbox.h
interface/wx/button.h
interface/wx/checkbox.h
interface/wx/checklst.h
interface/wx/choice.h
interface/wx/choicebk.h
interface/wx/clrpicker.h
interface/wx/collpane.h
interface/wx/combo.h
interface/wx/combobox.h
interface/wx/dataview.h
interface/wx/defs.h
interface/wx/dirctrl.h
interface/wx/event.h
interface/wx/fdrepdlg.h
interface/wx/filepicker.h
interface/wx/fontpicker.h
interface/wx/headerctrl.h
interface/wx/html/htmlwin.h
interface/wx/htmllbox.h
interface/wx/hyperlink.h
interface/wx/listbook.h
interface/wx/listbox.h
interface/wx/listctrl.h
interface/wx/menu.h
interface/wx/menuitem.h
interface/wx/notebook.h
interface/wx/odcombo.h
interface/wx/propgrid/editors.h
interface/wx/propgrid/property.h
interface/wx/radiobox.h
interface/wx/radiobut.h
interface/wx/richtext/richtextctrl.h
interface/wx/simplebook.h
interface/wx/slider.h
interface/wx/spinctrl.h
interface/wx/splitter.h
interface/wx/srchctrl.h
interface/wx/textctrl.h
interface/wx/textentry.h
interface/wx/tglbtn.h
interface/wx/toolbar.h
interface/wx/toolbook.h
interface/wx/toplevel.h
interface/wx/treebook.h
interface/wx/treectrl.h
interface/wx/treelist.h
interface/wx/webview.h
samples/combo/combo.cpp
samples/dataview/dataview.cpp
samples/dialogs/dialogs.cpp
samples/dnd/dnd.cpp
samples/docview/doc.cpp
samples/event/event.cpp
samples/fswatcher/fswatcher.cpp
samples/keyboard/keyboard.cpp
samples/layout/layout.cpp
samples/mediaplayer/mediaplayer.cpp
samples/notebook/notebook.cpp
samples/ownerdrw/ownerdrw.cpp
samples/preferences/preferences.cpp
samples/propgrid/propgrid.cpp
samples/regtest/regtest.cpp
samples/ribbon/ribbondemo.cpp
samples/scroll/scroll.cpp
samples/webview/webview.cpp
samples/widgets/bmpcombobox.cpp
samples/widgets/combobox.cpp
samples/widgets/odcombobox.cpp
samples/widgets/searchctrl.cpp
samples/widgets/statbmp.cpp
samples/widgets/static.cpp
samples/widgets/widgets.h
samples/wrapsizer/wrapsizer.cpp
samples/xrc/myframe.cpp
samples/xrc/objrefdlg.cpp
src/aui/auibar.cpp
src/aui/auibook.cpp
src/aui/tabart.cpp
src/cocoa/bmpbuttn.mm
src/cocoa/button.mm
src/cocoa/checkbox.mm
src/cocoa/choice.mm
src/cocoa/combobox.mm
src/cocoa/notebook.mm
src/cocoa/radiobox.mm
src/cocoa/radiobut.mm
src/cocoa/toolbar.mm
src/common/btncmn.cpp
src/common/checkboxcmn.cpp
src/common/checklstcmn.cpp
src/common/choiccmn.cpp
src/common/clrpickercmn.cpp
src/common/combocmn.cpp
src/common/datavcmn.cpp
src/common/dlgcmn.cpp
src/common/event.cpp
src/common/fddlgcmn.cpp
src/common/filepickercmn.cpp
src/common/fontpickercmn.cpp
src/common/framecmn.cpp
src/common/headerctrlcmn.cpp
src/common/hyperlnkcmn.cpp
src/common/lboxcmn.cpp
src/common/listctrlcmn.cpp
src/common/menucmn.cpp
src/common/nbkbase.cpp
src/common/pickerbase.cpp
src/common/prntbase.cpp
src/common/radiobtncmn.cpp
src/common/radiocmn.cpp
src/common/slidercmn.cpp
src/common/spinctrlcmn.cpp
src/common/srchcmn.cpp
src/common/tbarbase.cpp
src/common/textcmn.cpp
src/common/textentrycmn.cpp
src/common/treebase.cpp
src/common/webview.cpp
src/common/wincmn.cpp
src/generic/aboutdlgg.cpp
src/generic/buttonbar.cpp
src/generic/calctrlg.cpp
src/generic/choicbkg.cpp
src/generic/clrpickerg.cpp
src/generic/collpaneg.cpp
src/generic/datavgen.cpp
src/generic/dirctrlg.cpp
src/generic/editlbox.cpp
src/generic/fdrepdlg.cpp
src/generic/filepickerg.cpp
src/generic/fontpickerg.cpp
src/generic/headerctrlg.cpp
src/generic/hyperlinkg.cpp
src/generic/listbkg.cpp
src/generic/listctrl.cpp
src/generic/mdig.cpp
src/generic/notebook.cpp
src/generic/odcombo.cpp
src/generic/spinctlg.cpp
src/generic/splitter.cpp
src/generic/srchctlg.cpp
src/generic/toolbkg.cpp
src/generic/treebkg.cpp
src/generic/treectlg.cpp
src/generic/treelist.cpp
src/generic/vlbox.cpp
src/gtk/button.cpp
src/gtk/checkbox.cpp
src/gtk/checklst.cpp
src/gtk/choice.cpp
src/gtk/collpane.cpp
src/gtk/combobox.cpp
src/gtk/dataview.cpp
src/gtk/filepicker.cpp
src/gtk/infobar.cpp
src/gtk/listbox.cpp
src/gtk/radiobox.cpp
src/gtk/radiobut.cpp
src/gtk/slider.cpp
src/gtk/spinctrl.cpp
src/gtk/textctrl.cpp
src/gtk/textentry.cpp
src/gtk/tglbtn.cpp
src/gtk/toolbar.cpp
src/gtk/webview_webkit.cpp
src/gtk/window.cpp
src/gtk1/bmpbuttn.cpp
src/gtk1/button.cpp
src/gtk1/checkbox.cpp
src/gtk1/choice.cpp
src/gtk1/combobox.cpp
src/gtk1/dialog.cpp
src/gtk1/fontdlg.cpp
src/gtk1/listbox.cpp
src/gtk1/menu.cpp
src/gtk1/radiobox.cpp
src/gtk1/radiobut.cpp
src/gtk1/scrolbar.cpp
src/gtk1/slider.cpp
src/gtk1/spinctrl.cpp
src/gtk1/textctrl.cpp
src/gtk1/tglbtn.cpp
src/gtk1/window.cpp
src/html/htmlwin.cpp
src/motif/button.cpp
src/motif/checkbox.cpp
src/motif/checklst.cpp
src/motif/choice.cpp
src/motif/combobox.cpp
src/motif/combobox_native.cpp
src/motif/listbox.cpp
src/motif/menuitem.cpp
src/motif/radiobox.cpp
src/motif/radiobut.cpp
src/motif/slider.cpp
src/motif/textctrl.cpp
src/motif/window.cpp
src/msw/button.cpp
src/msw/checkbox.cpp
src/msw/choice.cpp
src/msw/combobox.cpp
src/msw/dialog.cpp
src/msw/fdrepdlg.cpp
src/msw/headerctrl.cpp
src/msw/listbox.cpp
src/msw/listctrl.cpp
src/msw/mdi.cpp
src/msw/notebook.cpp
src/msw/radiobox.cpp
src/msw/radiobut.cpp
src/msw/slider.cpp
src/msw/spinctrl.cpp
src/msw/textctrl.cpp
src/msw/textentry.cpp
src/msw/tglbtn.cpp
src/msw/toolbar.cpp
src/msw/treectrl.cpp
src/msw/webview_ie.cpp
src/msw/wince/checklst.cpp
src/msw/wince/choicece.cpp
src/msw/wince/menuce.cpp
src/msw/wince/tbarwce.cpp
src/msw/wince/textctrlce.cpp
src/msw/window.cpp
src/os2/button.cpp
src/os2/checkbox.cpp
src/os2/checklst.cpp
src/os2/choice.cpp
src/os2/combobox.cpp
src/os2/listbox.cpp
src/os2/listctrl.cpp
src/os2/notebook.cpp
src/os2/radiobox.cpp
src/os2/radiobut.cpp
src/os2/slider.cpp
src/os2/spinctrl.cpp
src/os2/textctrl.cpp
src/os2/tglbtn.cpp
src/os2/treectrl.cpp
src/os2/window.cpp
src/osx/button_osx.cpp
src/osx/carbon/app.cpp
src/osx/carbon/combobox.cpp
src/osx/carbon/combobxc.cpp
src/osx/carbon/dataview.cpp
src/osx/carbon/fontdlg.cpp
src/osx/carbon/listbox.cpp
src/osx/carbon/listctrl_mac.cpp
src/osx/carbon/taskbar.cpp
src/osx/checkbox_osx.cpp
src/osx/checklst_osx.cpp
src/osx/choice_osx.cpp
src/osx/cocoa/combobox.mm
src/osx/cocoa/dataview.mm
src/osx/cocoa/filedlg.mm
src/osx/cocoa/listbox.mm
src/osx/cocoa/preferences.mm
src/osx/cocoa/textctrl.mm
src/osx/cocoa/window.mm
src/osx/combobox_osx.cpp
src/osx/dataview_osx.cpp
src/osx/iphone/textctrl.mm
src/osx/iphone/window.mm
src/osx/listbox_osx.cpp
src/osx/menu_osx.cpp
src/osx/notebook_osx.cpp
src/osx/radiobox_osx.cpp
src/osx/radiobut_osx.cpp
src/osx/slider_osx.cpp
src/osx/srchctrl_osx.cpp
src/osx/textctrl_osx.cpp
src/osx/tglbtn_osx.cpp
src/osx/webview_webkit.mm
src/osx/window_osx.cpp
src/propgrid/advprops.cpp
src/propgrid/editors.cpp
src/propgrid/manager.cpp
src/propgrid/propgrid.cpp
src/propgrid/props.cpp
src/ribbon/bar.cpp
src/ribbon/buttonbar.cpp
src/ribbon/gallery.cpp
src/ribbon/panel.cpp
src/ribbon/toolbar.cpp
src/richtext/richtextborderspage.cpp
src/richtext/richtextbuffer.cpp
src/richtext/richtextbulletspage.cpp
src/richtext/richtextctrl.cpp
src/richtext/richtextfontpage.cpp
src/richtext/richtextformatdlg.cpp
src/richtext/richtextimagedlg.cpp
src/richtext/richtextindentspage.cpp
src/richtext/richtextliststylepage.cpp
src/richtext/richtextsizepage.cpp
src/richtext/richtextstyledlg.cpp
src/richtext/richtextsymboldlg.cpp
src/richtext/richtexttabspage.cpp
src/stc/stc.cpp
src/univ/button.cpp
src/univ/checkbox.cpp
src/univ/checklst.cpp
src/univ/choice.cpp
src/univ/combobox.cpp
src/univ/dialog.cpp
src/univ/listbox.cpp
src/univ/radiobox.cpp
src/univ/radiobut.cpp
src/univ/slider.cpp
src/univ/textctrl.cpp
src/univ/tglbtn.cpp
src/univ/winuniv.cpp
src/x11/textctrl.cpp
tests/controls/bitmaptogglebuttontest.cpp
tests/controls/buttontest.cpp
tests/controls/checkboxtest.cpp
tests/controls/checklistboxtest.cpp
tests/controls/choicebooktest.cpp
tests/controls/comboboxtest.cpp
tests/controls/hyperlinkctrltest.cpp
tests/controls/listbasetest.cpp
tests/controls/listbooktest.cpp
tests/controls/listboxtest.cpp
tests/controls/listctrltest.cpp
tests/controls/notebooktest.cpp
tests/controls/ownerdrawncomboboxtest.cpp
tests/controls/radiobuttontest.cpp
tests/controls/richtextctrltest.cpp
tests/controls/spinctrldbltest.cpp
tests/controls/spinctrltest.cpp
tests/controls/textctrltest.cpp
tests/controls/textentrytest.cpp
tests/controls/togglebuttontest.cpp
tests/controls/toolbooktest.cpp
tests/controls/treebooktest.cpp
tests/controls/treectrltest.cpp
tests/controls/webtest.cpp
tests/html/htmlwindow.cpp
tests/menu/menu.cpp
utils/screenshotgen/src/guiframe.cpp