{ GfxClippingArea clipping; if (!clipping.Clip(r.left + WD_BEVEL_LEFT, r.top + WD_BEVEL_TOP, width, height)) break; // draw stuff }