* Source/NSAlert.m: (-_initWithoutGModel): Set selected text

background color to [NSColor controlLightHighlightColor].



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24927 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
stoyan 2007-03-23 11:33:37 +00:00
parent 3658268df8
commit e93c75500d
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2007-03-23 Sergii Stoian <stoyan255@gmail.com>
* Source/NSAlert.m: (-_initWithoutGModel): Set selected text
background color to [NSColor controlLightHighlightColor].
2007-03-23 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSView.m: Replace calls to the now deprecated methods on

View file

@ -407,7 +407,7 @@ setControl(NSView* content, id control, NSString *title)
be selectable for a copy-and-paste. Hence, setSelectable: YES.
*/
selectedAttrs = [NSDictionary dictionaryWithObjectsAndKeys:
[NSColor whiteColor],
[NSColor controlLightHighlightColor],
NSBackgroundColorAttributeName,
nil];
[(NSTextView *)fieldEditor setSelectedTextAttributes: selectedAttrs];