mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
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:
parent
c88522c8ce
commit
58d8169cfe
@ -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.
|
||||
|
@ -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.
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user