1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-23 17:30:17 +01:00

Update ruler button status messages if changed by keystroke and...

... pointer is in it
This commit is contained in:
Paul Licameli
2016-06-05 19:21:26 -04:00
parent bb7dba2b67
commit 16933363fe
3 changed files with 25 additions and 12 deletions

View File

@@ -99,6 +99,11 @@ class AButton final : public wxWindow {
void OnPaint(wxPaintEvent & event);
void OnSize(wxSizeEvent & event);
void OnMouseEvent(wxMouseEvent & event);
// Update the status bar message if the pointer is in the button.
// Else do nothing.
void UpdateStatus();
void OnCaptureLost(wxMouseCaptureLostEvent & event);
void OnKeyDown(wxKeyEvent & event);
void OnSetFocus(wxFocusEvent & event);