From: Kevin Ollivier Date: Sun, 8 Mar 2009 03:32:37 +0000 (+0000) Subject: Make sure the user can't select the text. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/44ca06dd6e0ada95474d9e6ab4c2fb3dbefceb62 Make sure the user can't select the text. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59423 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/osx/cocoa/stattext.mm b/src/osx/cocoa/stattext.mm index 74e3aad2f6..41840bcc08 100644 --- a/src/osx/cocoa/stattext.mm +++ b/src/osx/cocoa/stattext.mm @@ -118,6 +118,7 @@ wxWidgetImplType* wxWidgetImpl::CreateStaticText( wxWindowMac* wxpeer, [v setEditable:NO]; [v setDrawsBackground:NO]; + [v setSelectable: NO]; [v setString: wxCFStringRef( label , wxpeer->GetFont().GetEncoding() ).AsNSString()]; NSRange allText = NSMakeRange(0, label.length());