diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-11-19 21:30:00 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2016-11-19 21:30:00 +0000 |
| commit | ad5c8849fc3ef5aad88201f28db5474a60db4436 (patch) | |
| tree | cd94fc66f644e96de1e65b3deda3a599361f2f01 /src/wx/templates_dialog.cc | |
| parent | f113b2aaca7a65f7b37e12a7d9f3f99e2d834e81 (diff) | |
No-op; rename a whole load of wx constants to their shorter equivalents.
Diffstat (limited to 'src/wx/templates_dialog.cc')
| -rw-r--r-- | src/wx/templates_dialog.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/wx/templates_dialog.cc b/src/wx/templates_dialog.cc index eb0d491e0..9b264f264 100644 --- a/src/wx/templates_dialog.cc +++ b/src/wx/templates_dialog.cc @@ -61,11 +61,11 @@ TemplatesDialog::TemplatesDialog (wxWindow* parent) _sizer->Add (buttons, wxSizerFlags().Expand().DoubleBorder()); } - _rename->Bind (wxEVT_COMMAND_BUTTON_CLICKED, bind (&TemplatesDialog::rename_clicked, this)); - _remove->Bind (wxEVT_COMMAND_BUTTON_CLICKED, bind (&TemplatesDialog::remove_clicked, this)); + _rename->Bind (wxEVT_BUTTON, bind (&TemplatesDialog::rename_clicked, this)); + _remove->Bind (wxEVT_BUTTON, bind (&TemplatesDialog::remove_clicked, this)); - _list->Bind (wxEVT_COMMAND_LIST_ITEM_SELECTED, bind (&TemplatesDialog::selection_changed, this)); - _list->Bind (wxEVT_COMMAND_LIST_ITEM_DESELECTED, bind (&TemplatesDialog::selection_changed, this)); + _list->Bind (wxEVT_LIST_ITEM_SELECTED, bind (&TemplatesDialog::selection_changed, this)); + _list->Bind (wxEVT_LIST_ITEM_DESELECTED, bind (&TemplatesDialog::selection_changed, this)); _list->Bind (wxEVT_SIZE, bind (&TemplatesDialog::resized, this, _1)); _config_connection = Config::instance()->Changed.connect (bind (&TemplatesDialog::refresh, this)); |
