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
|
@ -58,18 +58,6 @@ void og_destroy(HWND widget, OGWidget *object)
|
|||
return self;
|
||||
}
|
||||
//----------------------------------------------------------------------------------------------------------------------------------
|
||||
- (void)show
|
||||
{
|
||||
if(widget != NULL)
|
||||
ShowWindow(widget, SW_SHOWNORMAL);
|
||||
}
|
||||
//----------------------------------------------------------------------------------------------------------------------------------
|
||||
- (void)hide
|
||||
{
|
||||
if(widget != NULL)
|
||||
ShowWindow(widget, SW_HIDE);
|
||||
}
|
||||
//----------------------------------------------------------------------------------------------------------------------------------
|
||||
- (int)MessageReceived : (HWND)hwnd : (UINT)msg : (WPARAM)wparam : (LPARAM)lparam
|
||||
{
|
||||
return DefWindowProc(hwnd, msg, wparam, lparam);
|
||||
|
|
Reference in a new issue