diff options
Diffstat (limited to 'src/gui_xmebw.c')
-rw-r--r-- | src/gui_xmebw.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui_xmebw.c b/src/gui_xmebw.c index 670e0c02e..8ae3d40c4 100644 --- a/src/gui_xmebw.c +++ b/src/gui_xmebw.c @@ -47,13 +47,13 @@ #include "gui_xmebwp.h" /* Provide some missing wrappers, which are missed from the LessTif - * implementation. + * implementation. Also missing in Motif 1.2 and earlier. * * We neither use XmeGetPixmapData or _XmGetPixmapData, since with LessTif the * pixmap will not appear in it's caches properly. We cache the interresting * values in XmEnhancedButtonPart instead ourself. */ -#ifdef LESSTIF_VERSION +#if defined(LESSTIF_VERSION) || (XmVersion <= 1002) # ifndef Lab_IsMenupane # define Lab_IsMenupane(w) (Lab_MenuType(w) == (int)XmMENU_POPUP || \ Lab_MenuType(w) == (int)XmMENU_PULLDOWN) |