Move -[show] and -[hide] from OGWidget to OGWindow.
This commit is contained in:
parent
aabc851a05
commit
16cb871e9d
6 changed files with 24 additions and 25 deletions
|
@ -124,6 +124,18 @@ static int CALLBACK Resize_EnumChildren(HWND child, LPARAM lparam)
|
|||
SWP_NOACTIVATE | SWP_NOOWNERZORDER | SWP_NOZORDER);
|
||||
}
|
||||
//----------------------------------------------------------------------------------------------------------------------------------
|
||||
- (void)show
|
||||
{
|
||||
if(widget != NULL)
|
||||
ShowWindow(widget, SW_SHOWNORMAL);
|
||||
}
|
||||
//----------------------------------------------------------------------------------------------------------------------------------
|
||||
- (void)hide
|
||||
{
|
||||
if(widget != NULL)
|
||||
ShowWindow(widget, SW_HIDE);
|
||||
}
|
||||
//----------------------------------------------------------------------------------------------------------------------------------
|
||||
- (BOOL)OG_willClose
|
||||
{
|
||||
OFAutoreleasePool *pool = [OFAutoreleasePool new];
|
||||
|
|
Reference in a new issue