]> git.lyx.org Git - lyx.git/blobdiff - src/lyx_gui_misc.C
remove more forms.h cruft
[lyx.git] / src / lyx_gui_misc.C
index 517031f1f50d150d64cc7460827e1453f0ae8da2..f6bd2605d5ad8b20e7370e494773e37e7d7463ce 100644 (file)
@@ -137,12 +137,12 @@ void WriteAlert(string const & s1, string const & s2, string const & s3)
                lview = current_view->owner();
        if (lview) {
                /// Write to minibuffer
-               ProhibitInput(current_view);
+               lview->prohibitInput();
                string const msg = s1 + ' ' + s2 + ' ' + s3;
                lview->message(msg);
                fl_set_resource("flAlert.dismiss.label", _("Dismiss"));
                fl_show_alert(s1.c_str(), s2.c_str(), s3.c_str(), 0);
-               AllowInput(current_view);
+               lview->allowInput();
        } else {
                /// Write to lyxerr
                lyxerr << "----------------------------------------" << endl