diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-08-27 20:37:32 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-09-01 16:34:26 +0200 |
| commit | c04fec82d25127fafa73c3daff87bece9aa8c8e8 (patch) | |
| tree | c52e8156ac0c1a0cfe050c8722dcdd34b7321916 /src/wx/editable_list.h | |
| parent | 63ea8ea5fdfff1158def8c57361bcc3da21e2ad6 (diff) | |
Build fixes for Boost >= 1.73
Forward-ported-from: d1e9749ca290673639a49d693a8fe5c6557cc2de
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 ca58009a4..58d0e3885 100644 --- a/src/wx/editable_list.h +++ b/src/wx/editable_list.h @@ -136,7 +136,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 (); |
