*/
#include <config.h>
-#include <gtkmm.h>
-#include <libglademm.h>
-#include <sstream>
+
+// Too hard to make concept checks work with this file
+#ifdef _GLIBCPP_CONCEPT_CHECKS
+#undef _GLIBCPP_CONCEPT_CHECKS
+#endif
#include "ControlMath.h"
#include "GMathDelim.h"
#include "support/lstrings.h"
+#include <libglademm.h>
+
+#include <sstream>
+
#include "delim.xbm"
#include "delim0.xpm"
rightSel_ = 1;
xml_->get_widget("Box", box);
delimTbl_.signalClicked().connect(
- SigC::slot(*this, &GMathDelim::onDelimTblClicked));
+ sigc::mem_fun(*this, &GMathDelim::onDelimTblClicked));
delimTbl_.show();
box->children().push_back(
Gtk::Box_Helpers::Element(delimTbl_));
bcview().addReadOnly(both_);
bcview().addReadOnly(demo_);
left_->signal_clicked().connect(
- SigC::slot(*this, &GMathDelim::onRadioClicked));
+ sigc::mem_fun(*this, &GMathDelim::onRadioClicked));
right_->signal_clicked().connect(
- SigC::slot(*this, &GMathDelim::onRadioClicked));
+ sigc::mem_fun(*this, &GMathDelim::onRadioClicked));
both_->signal_clicked().connect(
- SigC::slot(*this, &GMathDelim::onRadioClicked));
+ sigc::mem_fun(*this, &GMathDelim::onRadioClicked));
}
pixmap_ = Gdk::Pixmap::create_from_xpm(demo_->get_colormap(),
mask_,
delim0);
- image = SigC::manage(new Gtk::Image(pixmap_, mask_));
+ image = Gtk::manage(new Gtk::Image(pixmap_, mask_));
image->show();
demo_->add(*image);
gcMask_ = Gdk::GC::create(mask_);