Jan Vroonhof <vroonhof(a)math.ethz.ch> writes:
Just by reading though the manpages of the functions involved, It
seems that Motif 2.x's resource code specifies unspecified pixmap not
using NULL but using XmUNSPECIFIED_PIXMAP (!=NULL).
That's it. There's actually a difference in the management of top and
bottom shadow pixmaps (welcome to motif): those resources are defined in the
XmPrimitive widget class. the XmNbottomShadowPixmap is bound to
XmUNSPECIFIED_PIXMAP by default, whereas XmNtopShadowPixmap is computed
dynamically. I think this is because XmPrimitive inherits directly from Core,
which defines the XmNborderPixmap resource, and this resource is used in the
topShadowPixmap computation (not in the bottomShadowPixmap one).
--XmNdidier