diff options
Diffstat (limited to 'src/wx/content_widget.h')
| -rw-r--r-- | src/wx/content_widget.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wx/content_widget.h b/src/wx/content_widget.h index f7edf6b30..3c736f2a9 100644 --- a/src/wx/content_widget.h +++ b/src/wx/content_widget.h @@ -118,9 +118,9 @@ public: for (typename List::iterator i = _content.begin(); i != _content.end(); ++i) { #if BOOST_VERSION >= 106100 - _connections.push_back ((*i)->Change.connect (boost::bind (&ContentWidget::model_changed, this, boost::placeholders::_1, boost::placeholders::_3))); + _connections.push_back((*i)->Change.connect(boost::bind(&ContentWidget::model_changed, this, boost::placeholders::_1, boost::placeholders::_2))); #else - _connections.push_back ((*i)->Change.connect (boost::bind (&ContentWidget::model_changed, this, _1, _3))); + _connections.push_back((*i)->Change.connect(boost::bind(&ContentWidget::model_changed, this, _1, _2))); #endif } } |
