Mercurial > projects > dwt2
comparison org.eclipse.swt.gtk.linux.x86/src/org/eclipse/swt/widgets/Text.d @ 113:fb3aa8075988
D2 support for the linux port.
author | Jacob Carlborg <doob@me.com> |
---|---|
date | Wed, 06 Apr 2011 21:57:23 +0200 |
parents | c01d033c633a |
children |
comparison
equal
deleted
inserted
replaced
112:9f4c18c268b2 | 113:fb3aa8075988 |
---|---|
709 */ | 709 */ |
710 public char getEchoChar () { | 710 public char getEchoChar () { |
711 checkWidget (); | 711 checkWidget (); |
712 if ((style & SWT.SINGLE) !is 0) { | 712 if ((style & SWT.SINGLE) !is 0) { |
713 if (!OS.gtk_entry_get_visibility (cast(GtkEntry*)handle)) { | 713 if (!OS.gtk_entry_get_visibility (cast(GtkEntry*)handle)) { |
714 return OS.gtk_entry_get_invisible_char (cast(GtkEntry*)handle); | 714 return cast(char) OS.gtk_entry_get_invisible_char (cast(GtkEntry*)handle); |
715 } | 715 } |
716 } | 716 } |
717 return '\0'; | 717 return '\0'; |
718 } | 718 } |
719 | 719 |