From 84ce7b7dba590a3e6042190b79a3b1c0908b0a4c Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Mon, 6 Jul 2015 00:22:54 -0700 Subject: [PATCH] Allow more than one line in a wxStaticText on iOS. --- src/osx/iphone/stattext.mm | 1 + 1 file changed, 1 insertion(+) diff --git a/src/osx/iphone/stattext.mm b/src/osx/iphone/stattext.mm index b058c2bf5a..c9e4d31bac 100644 --- a/src/osx/iphone/stattext.mm +++ b/src/osx/iphone/stattext.mm @@ -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) -- 2.45.2