From 84c6013a17dfa629cacad2f4e6c4c15f38f513a3 Mon Sep 17 00:00:00 2001 From: mchinen Date: Sat, 29 Jan 2011 22:08:22 +0000 Subject: [PATCH] fix build on mac --- src/toolbars/DeviceToolBar.cpp | 2 +- src/toolbars/DeviceToolBar.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/toolbars/DeviceToolBar.cpp b/src/toolbars/DeviceToolBar.cpp index a08296c24..59c2729e1 100644 --- a/src/toolbars/DeviceToolBar.cpp +++ b/src/toolbars/DeviceToolBar.cpp @@ -829,7 +829,7 @@ void DeviceToolBar::ShowChannelsDialog() ShowComboDialog(mInputChannels, wxString(_("Select Input Channels"))); } -void DeviceToolBar::ShowComboDialog(wxChoice *combo, wxString &title) +void DeviceToolBar::ShowComboDialog(wxChoice *combo, const wxString &title) { if (!combo || combo->GetCount() == 0) { wxMessageBox(_("Device information is not available.")); diff --git a/src/toolbars/DeviceToolBar.h b/src/toolbars/DeviceToolBar.h index 428f0ffbb..9e2241501 100644 --- a/src/toolbars/DeviceToolBar.h +++ b/src/toolbars/DeviceToolBar.h @@ -71,7 +71,7 @@ class DeviceToolBar:public ToolBar { void RepositionCombos(); void RegenerateTooltips(); - void ShowComboDialog(wxChoice *combo, wxString &title); + void ShowComboDialog(wxChoice *combo, const wxString &title); wxBitmap *mPlayBitmap; wxBitmap *mRecordBitmap;