#include "support/lyxlib.h"
#include "Painter.h"
#include "font.h"
+#include "lyx_cb.h"
using std::ostream;
using std::istream;
extern char ** environ; // is this only redundtant on linux systems? Lgb.
-extern void ProhibitInput();
-extern void AllowInput();
-
static float const DEG2PI = 57.295779513;
struct queue_element {
bool error = false;
do {
- ProhibitInput();
+ ProhibitInput(current_view);
if (once) {
p = fileDlg.Select(_("EPS Figure"),
current_figure_path,
p = fileDlg.Select(_("EPS Figure"), buf,
"*ps", string());
}
- AllowInput();
+ AllowInput(current_view);
if (p.empty()) return;