From 5ddabc82ac3493ac1d1ec5d86c91b5c12802fe0a Mon Sep 17 00:00:00 2001 From: Georg Baum Date: Sat, 15 Jul 2006 11:39:58 +0000 Subject: [PATCH] compile fix git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14461 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/gtk/GView.C | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/frontends/gtk/GView.C b/src/frontends/gtk/GView.C index 0603561b27..d00842b3b5 100644 --- a/src/frontends/gtk/GView.C +++ b/src/frontends/gtk/GView.C @@ -159,7 +159,9 @@ bool GView::onFocusIn(GdkEventFocus * /*event*/) void GView::prohibitInput() const { - workArea()->hideCursor(); + // FIXME: Why is prohibitInput const? + // FIXME: hideCursor is protected + //const_cast(this)->workArea()->hideCursor(); const_cast(this)->set_sensitive(false); } @@ -190,8 +192,10 @@ void GView::setWindowTitle(string const & t, string const & /*it*/) void GView::busy(bool yes) const { - if (yes ) { - workArea()->hideCursor(); + // FIXME: Why is busy const? + if (yes) { + // FIXME: hideCursor is protected + //const_cast(this)->workArea()->hideCursor(); Gdk::Cursor cursor(Gdk::WATCH); const_cast(this)->get_window()->set_cursor(cursor); const_cast(this)->set_sensitive(false); -- 2.39.2