]> git.saurik.com Git - wxWidgets.git/commitdiff
per default wx' static text items have a transparent background
authorStefan Csomor <csomor@advancedconcepts.ch>
Wed, 26 Jan 2011 18:46:59 +0000 (18:46 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Wed, 26 Jan 2011 18:46:59 +0000 (18:46 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66776 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/osx/iphone/stattext.mm

index b98f9327d4574807805054aa30d9ef813ad1deb2..219e04b8ad9a4b970fcb4f149815dada96f369b2 100644 (file)
@@ -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() )
     {