X-Git-Url: https://git.carlh.net/gitweb/?p=dcpomatic.git;a=blobdiff_plain;f=src%2Fwx%2Fcontent_widget.h;h=52a5e5851a9b09ecaef7bcea415b1c7b66007be5;hp=de7ebedc5022b321e0d92679c5a22a41b1d46e4f;hb=c04fec82d25127fafa73c3daff87bece9aa8c8e8;hpb=63ea8ea5fdfff1158def8c57361bcc3da21e2ad6 diff --git a/src/wx/content_widget.h b/src/wx/content_widget.h index de7ebedc5..52a5e5851 100644 --- a/src/wx/content_widget.h +++ b/src/wx/content_widget.h @@ -108,7 +108,11 @@ public: update_from_model (); 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))); +#else _connections.push_back ((*i)->Change.connect (boost::bind (&ContentWidget::model_changed, this, _1, _3))); +#endif } }