]> git.saurik.com Git - wxWidgets.git/commitdiff
Allow more than one line in a wxStaticText on iOS.
authorJay Freeman (saurik) <saurik@saurik.com>
Mon, 6 Jul 2015 07:22:54 +0000 (00:22 -0700)
committerJay Freeman (saurik) <saurik@saurik.com>
Mon, 6 Jul 2015 07:22:54 +0000 (00:22 -0700)
src/osx/iphone/stattext.mm

index b058c2bf5a7057bb3f6702f334d35b3fdc4911fe..c9e4d31bac6c0e1021e44a5800e9dae4b6ed6025 100644 (file)
@@ -96,6 +96,7 @@ wxWidgetImplType* wxWidgetImpl::CreateStaticText( wxWindowMac* wxpeer,
         else if (style & wxST_ELLIPSIZE_START )
             linebreak = UILineBreakModeHeadTruncation;
     }
+    [v setNumberOfLines:0];
     [v setLineBreakMode:linebreak];
 
     if (style & wxALIGN_CENTER)