#include <config.h>
-
#include "FormMathsBitmap.h"
-#include "ControlMath.h"
-#include "xformsBC.h"
#include "bmtable.h"
#include "forms_gettext.h"
-#include "gettext.h"
-#include "support/LAssert.h"
-
-#include "lyx_xpm.h"
-
-#include <algorithm>
+#include "xformsBC.h"
-extern "C" void C_FormDialogView_CancelCB(FL_OBJECT *, long);
-extern "C" void C_FormDialogView_InputCB(FL_OBJECT *, long);
+#include "ControlMath.h"
-using namespace lyx::support;
-using std::vector;
using std::max;
+using std::vector;
+using std::string;
+extern "C" void C_FormDialogView_CancelCB(FL_OBJECT *, long);
+extern "C" void C_FormDialogView_InputCB(FL_OBJECT *, long);
+
FD_maths_bitmap::~FD_maths_bitmap()
{
if (form->visible) fl_hide_form(form);
void FormMathsBitmap::build()
{
- Assert(bitmaps_.size() > 0);
+ BOOST_ASSERT(bitmaps_.size() > 0);
h_+= 42; // Allow room for a Close button