diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-08-27 20:37:32 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-08-31 23:38:33 +0200 |
| commit | d1e9749ca290673639a49d693a8fe5c6557cc2de (patch) | |
| tree | 0dd75c672ee1685036c0214b0fde278606a1a60b /src/wx/editable_list.h | |
| parent | a682c021f299ab69d9c0ff747dfdb6b76b6ebd9c (diff) | |
Build fixes for Boost >= 1.73v2.14.37
Diffstat (limited to 'src/wx/editable_list.h')
| -rw-r--r-- | src/wx/editable_list.h | 4 |
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 (); |
