X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d09d7f11bbca52919e3c817883c4e1867543631f..08670ea85abf4b4946a9ce64971b591d7b1ee30b:/src/osx/iphone/stattext.mm?ds=sidebyside diff --git a/src/osx/iphone/stattext.mm b/src/osx/iphone/stattext.mm index b98f9327d4..d63502f1e1 100644 --- a/src/osx/iphone/stattext.mm +++ b/src/osx/iphone/stattext.mm @@ -1,10 +1,10 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: src/osx/cocoa/stattext.mm +// Name: src/osx/iphone/stattext.mm // Purpose: wxStaticText // Author: Stefan Csomor // Modified by: // Created: 04/01/98 -// RCS-ID: $Id: stattext.cpp 54845 2008-07-30 14:52:41Z SC $ +// RCS-ID: $Id$ // Copyright: (c) Stefan Csomor // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -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() ) {