summaryrefslogtreecommitdiff
path: root/src/wx/file_picker_ctrl.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-11-19 21:30:00 +0000
committerCarl Hetherington <cth@carlh.net>2016-11-19 21:30:00 +0000
commitad5c8849fc3ef5aad88201f28db5474a60db4436 (patch)
treecd94fc66f644e96de1e65b3deda3a599361f2f01 /src/wx/file_picker_ctrl.cc
parentf113b2aaca7a65f7b37e12a7d9f3f99e2d834e81 (diff)
No-op; rename a whole load of wx constants to their shorter equivalents.
Diffstat (limited to 'src/wx/file_picker_ctrl.cc')
-rw-r--r--src/wx/file_picker_ctrl.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wx/file_picker_ctrl.cc b/src/wx/file_picker_ctrl.cc
index 6272a8016..03b2880fe 100644
--- a/src/wx/file_picker_ctrl.cc
+++ b/src/wx/file_picker_ctrl.cc
@@ -44,7 +44,7 @@ FilePickerCtrl::FilePickerCtrl (wxWindow* parent, wxString prompt, wxString wild
SetSizerAndFit (_sizer);
- _file->Bind (wxEVT_COMMAND_BUTTON_CLICKED, boost::bind (&FilePickerCtrl::browse_clicked, this));
+ _file->Bind (wxEVT_BUTTON, boost::bind (&FilePickerCtrl::browse_clicked, this));
}
void
@@ -58,7 +58,7 @@ FilePickerCtrl::SetPath (wxString p)
_file->SetLabel (_("(None)"));
}
- wxCommandEvent ev (wxEVT_COMMAND_FILEPICKER_CHANGED, wxID_ANY);
+ wxCommandEvent ev (wxEVT_FILEPICKER_CHANGED, wxID_ANY);
GetEventHandler()->ProcessEvent (ev);
}