Fix compilation with xforms 0.88.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5364 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Angus Leeming 2002-10-07 10:49:02 +00:00
parent c88522c8ce
commit 58d8169cfe
3 changed files with 14 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2002-10-07 Angus Leeming <leeming@lyx.org>
* FormBase.C (hide):
* FormBaseDeprecated.C (hide): wrap that call to fl_hide_tooltip inside
#ifdef required xforms version.
2002-10-04 Angus Leeming <leeming@lyx.org>
* form_graphics.fd: un-cripple dialog by reverting yesterday's change.

View File

@ -28,8 +28,10 @@
extern "C" {
#if FL_VERSION > 0 || FL_REVISION >= 89
// This should be in forms.h but isn't
void fl_hide_tooltip();
#endif
// Callback function invoked by xforms when the dialog is closed by the
// window manager
@ -164,9 +166,11 @@ void FormBase::show()
void FormBase::hide()
{
#if FL_VERSION > 0 || FL_REVISION >= 89
// Does no harm if none is visible and ensures that the tooltip form
// is hidden should the dialog be closed from the keyboard.
fl_hide_tooltip();
#endif
// xforms sometimes tries to process a hint-type MotionNotify, and
// use XQueryPointer, without verifying if the window still exists.

View File

@ -32,8 +32,10 @@
extern "C" {
#if FL_VERSION > 0 || FL_REVISION >= 89
// This should be in forms.h but isn't
void fl_hide_tooltip();
#endif
// Callback function invoked by xforms when the dialog is closed by the
// window manager
@ -173,9 +175,11 @@ void FormBaseDeprecated::show()
void FormBaseDeprecated::hide()
{
#if FL_VERSION > 0 || FL_REVISION >= 89
// Does no harm if none is visible and ensures that the tooltip form
// is hidden should the dialog be closed from the keyboard.
fl_hide_tooltip();
#endif
// xforms sometimes tries to process a hint-type MotionNotify, and
// use XQueryPointer, without verifying if the window still exists.