mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 13:00:37 +00:00
Implement methods for resizing subviews.
Some minor bug fixes. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@1637 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
f5813d015b
commit
d4848b7da2
6 changed files with 65 additions and 9 deletions
|
@ -102,6 +102,14 @@ id MB_NSBUTTON_CLASS;
|
|||
[self display];
|
||||
}
|
||||
|
||||
//
|
||||
// Identifying the Selected Cell
|
||||
//
|
||||
- (id)selectedCell
|
||||
{
|
||||
return cell;
|
||||
}
|
||||
|
||||
//
|
||||
// Setting the State
|
||||
//
|
||||
|
@ -257,6 +265,10 @@ id MB_NSBUTTON_CLASS;
|
|||
|
||||
NSDebugLog(@"NSButton mouseDown\n");
|
||||
|
||||
// If we are not enabled then ignore the mouse
|
||||
if (![self isEnabled])
|
||||
return;
|
||||
|
||||
// capture mouse
|
||||
[[self window] captureMouse: self];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue