#include <config.h>
#include "lyxdraw.h"
-#include "error.h"
+#include "debug.h"
extern int reverse_video;
extern int mono_video;
{
val.foreground = xcol.pixel;
} else {
- lyxerr.print(string("LyX: Couldn't get color ") + color);
+ lyxerr << "LyX: Couldn't get color " << color << endl;
return false;
}
}
if (!setForegroundColor(selection_color, val)) {
fast_selection = True;
if (clear_gc) clear_gc = 0;
- lyxerr.print(" Will use FastSelection-method.\n");
+ lyxerr << " Will use FastSelection-method."
+ << endl;
}
}
selection_gc = XCreateGC(fl_display, fl_root,