From ca12c122df8e6afc9db67ea7b8d8068e5c6b61b0 Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Wed, 26 Jan 2011 18:46:59 +0000 Subject: [PATCH] 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 --- src/osx/iphone/stattext.mm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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() ) { -- 2.45.2