Compilation fix for old and crappy versions of the xforms library.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5017 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Angus Leeming 2002-08-16 17:33:23 +00:00
parent 6c363430d6
commit 6aee235af7
2 changed files with 6 additions and 6 deletions

View File

@ -1,3 +1,8 @@
2002-08-16 Angus Leeming <leeming@lyx.org>
* Tooltips.C (c-tor): don't forget the "#ifdef crap xforms" code next
time, old boy.
2002-08-16 Michael Schmitt <Michael.Schmitt@teststep.org> 2002-08-16 Michael Schmitt <Michael.Schmitt@teststep.org>
* FormRef.C (update): Synchronise the buffer choice and the list of * FormRef.C (update): Synchronise the buffer choice and the list of

View File

@ -109,14 +109,9 @@ static void C_TooltipTimerCB(FL_OBJECT * ob, long data)
} }
Tooltips::Tooltips(Dialogs & d) Tooltips::Tooltips()
: tooltip_timer_(0) : tooltip_timer_(0)
{ {
static bool first = true;
if (first) {
first = false;
d.toggleTooltips.connect(boost::bind(&Tooltips::toggleEnabled));
}
toggled.connect(boost::bind(&Tooltips::set, this)); toggled.connect(boost::bind(&Tooltips::set, this));
} }