rem: wDrawBevel(button, (WTexSolid*)texture, WREL_RAISED);
add: wDrawBevel(button->window, button->width, button->height, (WTexSolid*)texture, WREL_RAISED);
context: paintButton(WCoreWindow *button, WTexture *texture, unsigned long color,	    WPixmap *image, int pushed){     WScreen *scr = button->screen_ptr;    GC copy_gc = scr->copy_gc;    int x=0, y=0, d=0;    int left=0, width=0;        /* setup stuff according to the state */    if (pushed) {	if (image) {	    if (image->width>=image->height*2) {		/* the image contains 2 pictures: the second is for the 		 * pushed state */		width = image->width/2;		left = image->width/2;	    } else {		width = image->width;	    }	}	XSetClipMask(dpy, copy_gc, None);	XSetForeground(dpy, copy_gc, scr->white_pixel);	d=1;	if (wPreferences.new_style) {	    XFillRectangle(dpy, button->window, copy_gc, 0, 0,			   button->width-1, button->height-1);	    XSetForeground(dpy, copy_gc, scr->black_pixel);	    XDrawRectangle(dpy, button->window, copy_gc, 0, 0,			   button->width-1, button->height-1);	} else {	    XFillRectangle(dpy, button->window, copy_gc, 0, 0,			   button->width, button->height);	    XSetForeground(dpy, copy_gc, scr->black_pixel);	    XDrawRectangle(dpy, button->window, copy_gc, 0, 0,			   button->width, button->height);	}    } else {	XClearWindow(dpy, button->window);		if (image) {	    if (image->width>=image->height*2)		width = image->width/2;	    else		width = image->width;	}	d=0;	        if (wPreferences.new_style) {	    if (texture->any.type==WTEX_SOLID || pushed) {		wDrawBevel(button, (WTexSolid*)texture, WREL_RAISED);	    }        } else {	    wDrawBevel(button, scr->widget_texture, WREL_RAISED);	}    }        if (image) {	/* display image */	XSetClipMask(dpy, copy_gc, image->mask);	x = (button->width - width)/2 + d;	y = (button->height - image->height)/2 + d;	XSetClipOrigin(dpy, copy_gc, x-left, y);        if (!wPreferences.new_style) {	    XSetForeground(dpy, copy_gc, scr->black_pixel);	    if (!pushed) {		if (image->depth==1)		    XCopyPlane(dpy, image->image, button->window, copy_gc,			       left, 0, width, image->height, x, y, 1);		else		    XCopyArea(dpy, image->image, button->window, copy_gc,			      left, 0, width, image->height, x, y);	    } else {		XSetForeground(dpy, copy_gc, scr->dark_pixel);		XFillRectangle(dpy, button->window, copy_gc, 0, 0,			       button->width, button->height);	    }        } else {	    if (pushed) {		XSetForeground(dpy, copy_gc, scr->black_pixel);	    } else {		XSetForeground(dpy, copy_gc, color);		XSetBackground(dpy, copy_gc, texture->any.color.pixel);	    }	    XFillRectangle(dpy, button->window, copy_gc, 0, 0,			   button->width, button->height);        }    }}