Mercurial > projects > dwt-mac
comparison dwt/internal/cocoa/WebView.d @ 7:e831403a80a9
Add 'cast' to casts
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Wed, 27 Aug 2008 14:30:35 +0200 |
parents | 1a8b3cb347e0 |
children | 30a762abda2a |
comparison
equal
deleted
inserted
replaced
6:b903c16b6f48 | 7:e831403a80a9 |
---|---|
552 public void takeStringURLFrom(id sender) { | 552 public void takeStringURLFrom(id sender) { |
553 OS.objc_msgSend(this.id, OS.sel_takeStringURLFrom_1, sender !is null ? sender.id : 0); | 553 OS.objc_msgSend(this.id, OS.sel_takeStringURLFrom_1, sender !is null ? sender.id : 0); |
554 } | 554 } |
555 | 555 |
556 public float textSizeMultiplier() { | 556 public float textSizeMultiplier() { |
557 return (float)OS.objc_msgSend_fpret(this.id, OS.sel_textSizeMultiplier); | 557 return cast(float)OS.objc_msgSend_fpret(this.id, OS.sel_textSizeMultiplier); |
558 } | 558 } |
559 | 559 |
560 public void toggleContinuousSpellChecking(id sender) { | 560 public void toggleContinuousSpellChecking(id sender) { |
561 OS.objc_msgSend(this.id, OS.sel_toggleContinuousSpellChecking_1, sender !is null ? sender.id : 0); | 561 OS.objc_msgSend(this.id, OS.sel_toggleContinuousSpellChecking_1, sender !is null ? sender.id : 0); |
562 } | 562 } |