From: Stefan Csomor Date: Wed, 26 Jan 2011 18:46:59 +0000 (+0000) Subject: per default wx' static text items have a transparent background X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/ca12c122df8e6afc9db67ea7b8d8068e5c6b61b0?ds=sidebyside per default wx' static text items have a transparent background git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66776 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/osx/iphone/stattext.mm b/src/osx/iphone/stattext.mm index b98f9327d4..219e04b8ad 100644 --- a/src/osx/iphone/stattext.mm +++ b/src/osx/iphone/stattext.mm @@ -79,7 +79,8 @@ wxWidgetImplType* wxWidgetImpl::CreateStaticText( wxWindowMac* wxpeer, { CGRect r = wxOSXGetFrameForControl( wxpeer, pos , size ) ; wxUILabel* v = [[wxUILabel alloc] initWithFrame:r]; - + v.backgroundColor = [UIColor clearColor]; + UILineBreakMode linebreak = UILineBreakModeWordWrap; if ( ((wxStaticText*)wxpeer)->IsEllipsized() ) {