diff dwt/widgets/Label.d @ 187:bcdc37794717

Reverted changes from previous wrong reverting changes: See: -r026ce3b05f57, -r4d06074bb1af, -rc4643827733c
author Frank Benoit <benoit@tionex.de>
date Mon, 10 Mar 2008 17:08:22 +0100
parents 026ce3b05f57
children ab60f3309436
line wrap: on
line diff
--- a/dwt/widgets/Label.d	Mon Mar 10 17:00:00 2008 +0100
+++ b/dwt/widgets/Label.d	Mon Mar 10 17:08:22 2008 +0100
@@ -395,7 +395,8 @@
 public void setText (char[] string) {
     checkWidget ();
     if (string is null) error (DWT.ERROR_NULL_ARGUMENT);
-    if ((style & DWT.SEPARATOR) !is 0) return;
+    // DWT extensions allow null argument
+    //if ((style & DWT.SEPARATOR) !is 0) return;
     /*
     * Feature in Windows.  For some reason, SetWindowText() for
     * static controls redraws the control, even when the text has