summaryrefslogtreecommitdiff
path: root/src/wx/content_widget.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2025-07-16 00:50:12 +0200
committerCarl Hetherington <cth@carlh.net>2025-07-16 00:57:23 +0200
commit2a7f3a1840bf2495656efff17a6c35ab3873b441 (patch)
treeaec803fbfced7c575a2fa0998e7be7fcbf1a2ea3 /src/wx/content_widget.h
parent3bc9ca466dc3e9afaf290283d6895338f23c948d (diff)
Remove unused content pointer from change signals.
Diffstat (limited to 'src/wx/content_widget.h')
-rw-r--r--src/wx/content_widget.h4
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
}
}