mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-08 06:03:49 +01:00
Fixes for bugs 1122 and 1113
Several other issues were also fixed (hopefully ;-)). This is a major change to accelerator handling and keyboard capturing. Menu shortcuts, non-menu commands, label editing, navigation, and basically anything else were you might use the keyboard should be thoroughly tested.
This commit is contained in:
@@ -298,8 +298,8 @@ class AUDACITY_DLL_API AudacityProject: public wxFrame,
|
||||
void OnODTaskUpdate(wxCommandEvent & event);
|
||||
void OnODTaskComplete(wxCommandEvent & event);
|
||||
void OnTrackListUpdated(wxCommandEvent & event);
|
||||
|
||||
bool HandleKeyDown(wxKeyEvent & event);
|
||||
bool HandleChar(wxKeyEvent & event);
|
||||
bool HandleKeyUp(wxKeyEvent & event);
|
||||
|
||||
void HandleResize();
|
||||
@@ -661,6 +661,9 @@ class AUDACITY_DLL_API AudacityProject: public wxFrame,
|
||||
// Keyboard capture
|
||||
wxWindow *mKeyboardCaptureHandler;
|
||||
|
||||
// CommandManager needs to use private methods
|
||||
friend class CommandManager;
|
||||
|
||||
DECLARE_EVENT_TABLE()
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user