diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-07-26 11:14:41 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-07-26 11:14:41 +0100 |
| commit | 16a7ea91e973b327735658857cbf996cc740be77 (patch) | |
| tree | ab67c21cb8cb85274b079268ef7c8d2160e3cae2 /src/wx/audio_mapping_view.cc | |
| parent | 750ad2a59ff2b3487859b6c290d06c0129cb6aa0 (diff) | |
Remove old Connect() wxWidgets API and use Bind().
Diffstat (limited to 'src/wx/audio_mapping_view.cc')
| -rw-r--r-- | src/wx/audio_mapping_view.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wx/audio_mapping_view.cc b/src/wx/audio_mapping_view.cc index f5d0ecae2..3136b8679 100644 --- a/src/wx/audio_mapping_view.cc +++ b/src/wx/audio_mapping_view.cc @@ -98,7 +98,7 @@ AudioMappingView::AudioMappingView (wxWindow* parent) _sizer->Add (_grid, 1, wxEXPAND | wxALL); SetSizerAndFit (_sizer); - Connect (wxID_ANY, wxEVT_GRID_CELL_LEFT_CLICK, wxGridEventHandler (AudioMappingView::left_click), 0, this); + Bind (wxEVT_GRID_CELL_LEFT_CLICK, boost::bind (&AudioMappingView::left_click, this, _1)); } void |
