#include "debug.h"
-#include "support/lyxfunctional.h"
-
#include "lyx_forms.h"
#include <boost/assert.hpp>
+#include <boost/bind.hpp>
+
+using boost::bind;
using std::endl;
+using std::equal_to;
namespace lyx {
namespace frontend {
{
ButtonValueMap::const_iterator it =
find_if(map.begin(), map.end(),
- lyx::equal_2nd_in_pair<ButtonValuePair>(value));
+ bind(equal_to<size_type>(),
+ bind(&ButtonValuePair::second, _1),
+ value));
if (it != map.end()) {
fl_set_button(it->first, 1);