diff options
author | Bram Moolenaar <Bram@vim.org> | 2006-05-13 15:22:39 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2006-05-13 15:22:39 +0000 |
commit | 5fffc13406a3f95771727cdb1d87320dd8f26fdf (patch) | |
tree | 1e3e9aa82c17249d3cc345b1f05d6d96cb886a37 /src/gui_xmebw.c | |
parent | ae177eb24fe45d33be83b46a5d03aa1b78a3dee0 (diff) | |
download | vim-git-5fffc13406a3f95771727cdb1d87320dd8f26fdf.tar.gz |
updated for version 7.0-017v7.0.017
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) |