+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.
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
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.
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
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.