summaryrefslogtreecommitdiff
path: root/src/wx/editable_list.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-08-27 20:37:32 +0000
committerCarl Hetherington <cth@carlh.net>2020-08-31 14:21:49 +0200
commit3e20b106388c0ba4a291cb15968a10c6fbd5b367 (patch)
tree7cb6dd24de47ba7cb02b9d8c47f229af7cedd4a0 /src/wx/editable_list.h
parent7c5e4e6b7a29db93184a57076d05193a8360561d (diff)
Build fixes for Boost >= 1.73new-boost-fixes
Diffstat (limited to 'src/wx/editable_list.h')
-rw-r--r--src/wx/editable_list.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/wx/editable_list.h b/src/wx/editable_list.h
index a7c1a6102..ef8862b3a 100644
--- a/src/wx/editable_list.h
+++ b/src/wx/editable_list.h
@@ -92,7 +92,11 @@ public:
_list->Bind (wxEVT_COMMAND_LIST_ITEM_SELECTED, boost::bind (&EditableList::selection_changed, this));
_list->Bind (wxEVT_COMMAND_LIST_ITEM_DESELECTED, boost::bind (&EditableList::selection_changed, this));
+#if BOOST_VERSION >= 106100
+ _list->Bind (wxEVT_SIZE, boost::bind (&EditableList::resized, this, boost::placeholders::_1));
+#else
_list->Bind (wxEVT_SIZE, boost::bind (&EditableList::resized, this, _1));
+#endif
refresh ();
selection_changed ();