Remove AegisubApp::OnKeyDown

It was an odd hack to ensure that medusa mode didn't mark keydown events
as processed (resulting in EVT_CHAR never triggering), but there should
be a better way to do this when we reintroduce global timing hotkeys.

Originally committed to SVN as r5237.
This commit is contained in:
Thomas Goyne 2011-01-18 03:42:51 +00:00
parent a4da8c3a61
commit c3325cb543
2 changed files with 0 additions and 14 deletions

View file

@ -575,7 +575,6 @@ void AegisubApp::MacOpenFile(const wxString &filename) {
// Event table
BEGIN_EVENT_TABLE(AegisubApp,wxApp)
EVT_MOUSEWHEEL(AegisubApp::OnMouseWheel)
EVT_KEY_DOWN(AegisubApp::OnKey)
END_EVENT_TABLE()
@ -595,15 +594,3 @@ void AegisubApp::OnMouseWheel(wxMouseEvent &event) {
}
/// @brief Key pressed
/// @param event wxEvent
/// Noone has any idea what this does anymore.
void AegisubApp::OnKey(wxKeyEvent &event) {
//frame->audioBox->audioDisplay->AddPendingEvent(event);
// if (!event.GetSkipped()) {
// event.Skip();
// }
}

View file

@ -93,7 +93,6 @@ private:
PluginManager *plugins;
void OnMouseWheel(wxMouseEvent &event);
void OnKey(wxKeyEvent &key);
#ifdef _DEBUG
/// stdout log emitter