1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-12-10 14:46:24 +01:00

Fix crashes when ESCaping a drag

This commit is contained in:
Paul Licameli
2017-07-13 07:03:30 -04:00
parent 6c0b3bb1bf
commit 5e4f453a81
2 changed files with 10 additions and 3 deletions

View File

@@ -313,7 +313,7 @@ class AUDACITY_DLL_API TrackPanel final : public OverlayPanel {
// void SetSnapTo(int snapto)
void HandleInterruptedDrag();
void Uncapture( wxMouseEvent *pEvent = nullptr );
void Uncapture( wxMouseState *pState = nullptr );
void CancelDragging();
bool HandleEscapeKey(bool down);
void UpdateMouseState(const wxMouseState &state);