mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 03:30:39 +00:00
Corrections for state changes and drawing with cells and controls.
Corrections to NSWindow for key and main window notification and first responder handling. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@1642 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
e2228d0274
commit
6ec5d8d5a4
6 changed files with 140 additions and 101 deletions
|
@ -139,6 +139,17 @@
|
|||
[(NSControl *)control_view updateCell: self];
|
||||
}
|
||||
|
||||
//
|
||||
// Setting the NSCell's State
|
||||
//
|
||||
- (void)setState:(int)value
|
||||
{
|
||||
[super setState: value];
|
||||
if (control_view)
|
||||
if ([control_view isKindOfClass: [NSControl class]])
|
||||
[(NSControl *)control_view updateCell: self];
|
||||
}
|
||||
|
||||
//
|
||||
// Manipulating NSActionCell Values
|
||||
//
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue