Turn off automatic dash replacement in wxOSX wxTextCtrl
This makes the text control match the other platforms as well as making it usable for entering compiler or command line flags for programs. Closes https://github.com/wxWidgets/wxWidgets/pull/186
This commit is contained in:
parent
ddae98fc35
commit
8d42890df4
@ -620,7 +620,8 @@ wxNSTextViewControl::wxNSTextViewControl( wxTextCtrl *wxPeer, WXWidget w, long s
|
||||
[tv setVerticallyResizable:YES];
|
||||
[tv setHorizontallyResizable:hasHScroll];
|
||||
[tv setAutoresizingMask:NSViewWidthSizable];
|
||||
|
||||
[tv setAutomaticDashSubstitutionEnabled:false];
|
||||
|
||||
if ( hasHScroll )
|
||||
{
|
||||
[[tv textContainer] setContainerSize:NSMakeSize(FLT_MAX, FLT_MAX)];
|
||||
|
Loading…
Reference in New Issue
Block a user