diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-04-16 23:10:28 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-04-16 23:10:28 +0100 |
| commit | 769c71b5c3e050ccfc1c13771d24328fbf76a495 (patch) | |
| tree | f75d5c5c953884395b2e59358e2c7faff5d5ba4b /src/wx/audio_mapping_view.cc | |
| parent | 91bd51ff82e99113860570b519459303802bd98f (diff) | |
Add our own raw_convert that uses SafeStringStream.
Diffstat (limited to 'src/wx/audio_mapping_view.cc')
| -rw-r--r-- | src/wx/audio_mapping_view.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/wx/audio_mapping_view.cc b/src/wx/audio_mapping_view.cc index 8e92400bd..c61ce7f06 100644 --- a/src/wx/audio_mapping_view.cc +++ b/src/wx/audio_mapping_view.cc @@ -21,16 +21,16 @@ * @brief AudioMappingView class and helpers. */ -#include <wx/wx.h> -#include <wx/renderer.h> -#include <wx/grid.h> -#include <dcp/types.h> -#include <dcp/raw_convert.h> #include "lib/audio_mapping.h" #include "lib/util.h" +#include "lib/raw_convert.h" #include "audio_mapping_view.h" #include "wx_util.h" #include "audio_gain_dialog.h" +#include <dcp/types.h> +#include <wx/wx.h> +#include <wx/renderer.h> +#include <wx/grid.h> #include <boost/lexical_cast.hpp> using std::cout; @@ -247,7 +247,7 @@ AudioMappingView::update_cells () _grid->SetCellValue (i, 0, wxString::Format (wxT("%d"), i + 1)); for (int j = 1; j < _grid->GetNumberCols(); ++j) { - _grid->SetCellValue (i, j, std_to_wx (dcp::raw_convert<string> (_map.get (i, static_cast<dcp::Channel> (j - 1))))); + _grid->SetCellValue (i, j, std_to_wx (raw_convert<string> (_map.get (i, static_cast<dcp::Channel> (j - 1))))); } } |
