projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
No-op; rename a whole load of wx constants to their shorter equivalents.
[dcpomatic.git]
/
src
/
wx
/
file_picker_ctrl.cc
diff --git
a/src/wx/file_picker_ctrl.cc
b/src/wx/file_picker_ctrl.cc
index 6272a80163c6256c28f216bbc574196313bbd430..03b2880fe201d14a15fd92f6b6cae113b033fe50 100644
(file)
--- 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);
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
}
void
@@
-58,7
+58,7
@@
FilePickerCtrl::SetPath (wxString p)
_file->SetLabel (_("(None)"));
}
_file->SetLabel (_("(None)"));
}
- wxCommandEvent ev (wxEVT_
COMMAND_
FILEPICKER_CHANGED, wxID_ANY);
+ wxCommandEvent ev (wxEVT_FILEPICKER_CHANGED, wxID_ANY);
GetEventHandler()->ProcessEvent (ev);
}
GetEventHandler()->ProcessEvent (ev);
}