1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-08-02 17:09:26 +02:00

Fix wx3 build

This commit is contained in:
lllucius 2014-12-29 03:46:57 +00:00
parent a30f8398aa
commit 055b40c3f2

View File

@ -1861,12 +1861,11 @@ void Meter::OnPreferences(wxCommandEvent & WXUNUSED(event))
if (dlg.ShowModal() == wxID_OK)
{
wxChar *style[] =
{
wxT("AutomaticStereo"),
wxT("HorizontalStereo"),
wxT("VerticalStereo")
};
wxArrayString style;
style.Add(wxT("AutomaticStereo"));
style.Add(wxT("HorizontalStereo"));
style.Add(wxT("VerticalStereo"));
int s = 0;
s = automatic->GetValue() ? 0 : s;
s = horizontal->GetValue() ? 1 : s;