mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-26 23:33:49 +01:00
Fix TAB key navigation on Mac for all dialogs (not only for panels)
This commit is contained in:
@@ -25,7 +25,7 @@
|
||||
#include "ShuttleGui.h"
|
||||
#include "TimeDialog.h"
|
||||
|
||||
BEGIN_EVENT_TABLE(TimeDialog, wxDialog)
|
||||
BEGIN_EVENT_TABLE(TimeDialog, wxDialogWrapper)
|
||||
EVT_COMMAND(wxID_ANY, EVT_TIMETEXTCTRL_UPDATED, TimeDialog::OnUpdate)
|
||||
END_EVENT_TABLE()
|
||||
|
||||
@@ -35,7 +35,7 @@ TimeDialog::TimeDialog(wxWindow *parent,
|
||||
double rate,
|
||||
double time,
|
||||
const wxString &prompt)
|
||||
: wxDialog(parent, wxID_ANY, title),
|
||||
: wxDialogWrapper(parent, wxID_ANY, title),
|
||||
mPrompt(prompt),
|
||||
mFormat(format),
|
||||
mRate(rate),
|
||||
|
||||
Reference in New Issue
Block a user