diff mac/dw.m @ 1788:9d499b162fe1

Discovered a breakage in OS/2 functionality when building the OS/2 installer for DWIB... so decided to fix it and implement the functionality on the other platforms, which I discovered was missing.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Sat, 04 Aug 2012 00:05:47 +0000
parents 9a32d4216f24
children ed8851658015
line wrap: on
line diff
--- a/mac/dw.m	Fri Aug 03 21:08:31 2012 +0000
+++ b/mac/dw.m	Sat Aug 04 00:05:47 2012 +0000
@@ -8438,6 +8438,10 @@
         {
             [cell setVCenter:(style & DW_DT_VCENTER ? YES : NO)];
         }
+        if(mask & DW_DT_WORDBREAK && [cell isMemberOfClass:[DWTextFieldCell class]])
+        {
+            [cell setWraps:(style & DW_DT_WORDBREAK ? YES : NO)];
+        }
     }
     else if([object isMemberOfClass:[NSTextView class]])
     {