From d1e9749ca290673639a49d693a8fe5c6557cc2de Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Thu, 27 Aug 2020 20:37:32 +0000 Subject: Build fixes for Boost >= 1.73 --- src/wx/editable_list.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/wx/editable_list.h') 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 (); -- cgit v1.2.3