diff options
-rw-r--r-- | gtk2_ardour/patch_change_dialog.cc | 4 | ||||
-rw-r--r-- | libs/midi++2/midi++/midnam_patch.h | 3 |
2 files changed, 3 insertions, 4 deletions
diff --git a/gtk2_ardour/patch_change_dialog.cc b/gtk2_ardour/patch_change_dialog.cc index a9ad5c7839..354cbfbf6a 100644 --- a/gtk2_ardour/patch_change_dialog.cc +++ b/gtk2_ardour/patch_change_dialog.cc @@ -151,7 +151,7 @@ PatchChangeDialog::fill_bank_combo () for (MIDI::Name::ChannelNameSet::PatchBanks::const_iterator i = banks->begin(); i != banks->end(); ++i) { string n = (*i)->name (); boost::replace_all (n, "_", " "); - _bank_combo.append (n); + _bank_combo.append_text (n); } } @@ -235,7 +235,7 @@ PatchChangeDialog::fill_patch_combo () for (MIDI::Name::PatchBank::PatchNameList::const_iterator j = patches.begin(); j != patches.end(); ++j) { string n = (*j)->name (); boost::replace_all (n, "_", " "); - _patch_combo.append (n); + _patch_combo.append_text (n); } } diff --git a/libs/midi++2/midi++/midnam_patch.h b/libs/midi++2/midi++/midnam_patch.h index 505245ae84..01b8837f2d 100644 --- a/libs/midi++2/midi++/midnam_patch.h +++ b/libs/midi++2/midi++/midnam_patch.h @@ -21,6 +21,7 @@ #ifndef MIDNAM_PATCH_H_ #define MIDNAM_PATCH_H_ +#include <iostream> #include <string> #include <list> #include <set> @@ -139,8 +140,6 @@ private: std::string _patch_list_name; }; -#include <iostream> - class ChannelNameSet { public: |