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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user