1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-21 16:37:12 +01:00

Remove style argument from ShuttleGui::AddCombo & AddListBox...

... use the Style() chain-call instead, as needed
This commit is contained in:
Paul Licameli
2019-11-17 21:24:01 -05:00
parent 1bfbfb9640
commit 30d375d6fa
3 changed files with 9 additions and 7 deletions

View File

@@ -223,7 +223,7 @@ public:
wxTextCtrl * AddTextBox(const wxString &Caption, const wxString &Value, const int nChars);
wxTextCtrl * AddNumericTextBox(const wxString &Caption, const wxString &Value, const int nChars);
wxTextCtrl * AddTextWindow(const wxString &Value);
wxListBox * AddListBox(const wxArrayStringEx &choices, long style = 0);
wxListBox * AddListBox(const wxArrayStringEx &choices);
struct ListControlColumn{
ListControlColumn(
@@ -247,7 +247,7 @@ public:
wxGrid * AddGrid();
wxCheckBox * AddCheckBox( const wxString &Prompt, bool Selected);
wxCheckBox * AddCheckBoxOnRight( const wxString &Prompt, bool Selected);
wxComboBox * AddCombo( const wxString &Prompt, const wxString &Selected,const wxArrayStringEx & choices, long style = 0 );
wxComboBox * AddCombo( const wxString &Prompt, const wxString &Selected,const wxArrayStringEx & choices );
wxChoice * AddChoice( const wxString &Prompt,
const wxArrayStringEx &choices, int Selected = -1 );
wxChoice * AddChoice( const wxString &Prompt,