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
This commit is contained in:
Kevin Ollivier
2009-03-08 03:32:37 +00:00
parent 8b492f67ab
commit 44ca06dd6e

View File

@@ -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());