comparison dwtx/draw2d/SWTGraphics.d @ 172:d994a8b2cdf7

again compile fixes
author Frank Benoit <benoit@tionex.de>
date Wed, 10 Sep 2008 23:14:02 +0200
parents 2d6540440fe6
children
comparison
equal deleted inserted replaced
171:ee33f30b14e2 172:d994a8b2cdf7
308 */ 308 */
309 private void checkSharedClipping() { 309 private void checkSharedClipping() {
310 if (sharedClipping) { 310 if (sharedClipping) {
311 sharedClipping = false; 311 sharedClipping = false;
312 312
313 bool previouslyApplied = (appliedState is currentState.relativeClip); 313 bool previouslyApplied = (appliedState is cast(Object)currentState.relativeClip);
314 currentState.relativeClip = currentState.relativeClip.getCopy(); 314 currentState.relativeClip = currentState.relativeClip.getCopy();
315 if (previouslyApplied) 315 if (previouslyApplied)
316 appliedState.relativeClip = currentState.relativeClip; 316 appliedState.relativeClip = currentState.relativeClip;
317 } 317 }
318 } 318 }