mirror of https://github.com/odrling/Aegisub
Correct a use of wx event handling, which should also make FrameMain not require friend access to AudioDisplay.
Originally committed to SVN as r3442.
This commit is contained in:
parent
28a79d49ac
commit
b1225cdd1f
|
@ -1787,7 +1787,7 @@ void FrameMain::OnStatusClear(wxTimerEvent &event) {
|
|||
/// @param event
|
||||
///
|
||||
void FrameMain::OnKeyDown(wxKeyEvent &event) {
|
||||
audioBox->audioDisplay->AddPendingEvent(event);
|
||||
audioBox->audioDisplay->GetEventHandler()->ProcessEvent(event);
|
||||
event.Skip();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue