*
* Emacs*XlwScrollBar.translations: #override \n\
* <Btn1Down>: PageDownOrRight() \n\
- * <Btn3Down>: PageUpOrLeft()
+ * <Btn3Down>: PageUpOrLeft() \n\
+ * <Btn3Up>: Release()
*
*/
}
/*-------------------------- GC and Pixel allocation --------------------*/
-#ifdef NEED_MOTIF
#ifndef XmUNSPECIFIED_PIXMAP
#define XmUNSPECIFIED_PIXMAP 2
#endif
-#endif /* NEED_MOTIF */
static GC
get_gc (XlwScrollBarWidget w, Pixel fg, Pixel bg, Pixmap pm)
values.stipple = pm;
/* mask = GCForeground | GCBackground |
(pm == None ? 0 : GCStipple | GCFillStyle); gtb */
-#ifdef NEED_MOTIF
if (pm != None && pm != 0 && pm != XmUNSPECIFIED_PIXMAP)
values.stipple = pm;
else
values.stipple = None;
-#else
- values.stipple = pm;
-#endif /* NEED_MOTIF */
mask = GCForeground | GCBackground |
(values.stipple == None ? 0 : GCStipple | GCFillStyle);