mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-25 07:43:54 +02:00
Bug2105: Enable TAB to sliders on Mac...
... I think this is a defect in wxWidgets, but one we can work around with a simple wrapper class around wxSlider overriding one method. To make the fix complete, change all occurrences of "safenew wxSlider" but the one in ShuttleGui.cpp covers most cases
This commit is contained in:
committed by
James Crook
parent
3f6b5be500
commit
c8d95e1117
@@ -1356,7 +1356,7 @@ ExportMixerDialog::ExportMixerDialog( const TrackList *tracks, bool selectedOnly
|
||||
mChannelsText = safenew wxStaticText(this, -1, label);
|
||||
horSizer->Add(mChannelsText, 0, wxALIGN_LEFT | wxALL, 5);
|
||||
|
||||
wxSlider *channels = safenew wxSlider(this, ID_SLIDER_CHANNEL,
|
||||
wxSlider *channels = safenew wxSliderWrapper(this, ID_SLIDER_CHANNEL,
|
||||
mMixerSpec->GetNumChannels(), 1, mMixerSpec->GetMaxNumChannels(),
|
||||
wxDefaultPosition, wxSize(300, -1));
|
||||
channels->SetName(label);
|
||||
|
||||
Reference in New Issue
Block a user