mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 03:21:04 +00:00
Implemented becomeKeyWindow
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14164 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
60b07803c5
commit
2347af5422
1 changed files with 8 additions and 0 deletions
|
@ -3008,6 +3008,14 @@ afterString in order over charRange. */
|
|||
}
|
||||
}
|
||||
|
||||
- (void) becomeKeyWindow
|
||||
{
|
||||
if ([self shouldDrawInsertionPoint])
|
||||
{
|
||||
[self updateInsertionPointStateAndRestartTimer: YES];
|
||||
}
|
||||
}
|
||||
|
||||
- (void) drawRect: (NSRect)rect
|
||||
{
|
||||
/* TODO: Only do relayout if needed */
|
||||
|
|
Loading…
Reference in a new issue