* but it bears thinking on.
*/
- /* Command widget may sometimes override the label GC in order
- * to draw inverse video. We don't use inverse video, so we need
- * to restore the label's normal GC.
- */
- rw->label.normal_GC = rw->command.normal_GC ;
-
-
/* Let label widget draw the label. If there was an lbm_x
* field, we could let Label draw the bitmap too. But there
* isn't, so we need to temporarily remove the bitmap and
{
/* TODO: handle pixmaps */
XCopyPlane(dpy, left_bitmap, win, gc,
- 0,0, rw->label.lbm_width, rw->label.lbm_height,
- (int) rw->label.internal_width*2 + bs(rw),
- (int) rw->label.internal_height + rw->label.lbm_y,
- (u_long) 1L) ;
+ 0,0, rw->label.lbm_width, rw->label.lbm_height,
+ (int) rw->label.internal_width*2 + bs(rw),
+ (int) rw->label.internal_height + rw->label.lbm_y,
+ 1UL) ;
}
/* Finally, the button itself */