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

Fix TAB key navigation on Mac for all dialogs (not only for panels)

This commit is contained in:
Paul Licameli
2016-07-10 17:10:50 -04:00
parent e0f6ed9972
commit 84c0337aba
79 changed files with 206 additions and 207 deletions

View File

@@ -74,7 +74,7 @@ enum {
ID_EXPORT
};
BEGIN_EVENT_TABLE(LabelDialog, wxDialog)
BEGIN_EVENT_TABLE(LabelDialog, wxDialogWrapper)
EVT_GRID_SELECT_CELL(LabelDialog::OnSelectCell)
EVT_GRID_CELL_CHANGED(LabelDialog::OnCellChange)
EVT_BUTTON(ID_INSERTA, LabelDialog::OnInsert)
@@ -97,7 +97,7 @@ LabelDialog::LabelDialog(wxWindow *parent,
ViewInfo &viewinfo,
double rate,
const wxString & format, const wxString &freqFormat)
: wxDialog(parent,
: wxDialogWrapper(parent,
wxID_ANY,
_("Edit Labels"),
wxDefaultPosition,
@@ -313,7 +313,7 @@ bool LabelDialog::TransferDataToWindow()
bool LabelDialog::Show(bool show)
{
bool ret = wxDialog::Show(show);
bool ret = wxDialogWrapper::Show(show);
// Set initial row
// (This will not work until the grid is actually displayed)