comparison dwtx/jface/text/PropagatingFontFieldEditor.d @ 138:b6bad70d540a

Regex instanceof changes
author Frank Benoit <benoit@tionex.de>
date Sun, 24 Aug 2008 02:26:23 +0200
parents 65801ad2b265
children eb21d3dfc767
comparison
equal deleted inserted replaced
137:25170b5a8951 138:b6bad70d540a
228 * from the workbench rather than its own font. 228 * from the workbench rather than its own font.
229 */ 229 */
230 private void checkForDefault() { 230 private void checkForDefault() {
231 if (presentsDefaultValue()) { 231 if (presentsDefaultValue()) {
232 Control c= getValueControl(fParent); 232 Control c= getValueControl(fParent);
233 if (c instanceof Label) 233 if ( cast(Label)c )
234 (cast(Label) c).setText(fDefaultFontLabel); 234 (cast(Label) c).setText(fDefaultFontLabel);
235 } 235 }
236 } 236 }
237 237
238 /** 238 /**