mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
compile fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14461 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
c77d599622
commit
5ddabc82ac
@ -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<GView*>(this)->workArea()->hideCursor();
|
||||
const_cast<GView*>(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<GView*>(this)->workArea()->hideCursor();
|
||||
Gdk::Cursor cursor(Gdk::WATCH);
|
||||
const_cast<GView *>(this)->get_window()->set_cursor(cursor);
|
||||
const_cast<GView *>(this)->set_sensitive(false);
|
||||
|
Loading…
Reference in New Issue
Block a user