Don't allow hiding windows as Cocoa can only hide the whole application.
This commit is contained in:
parent
409a082498
commit
50f314d6b5
3 changed files with 0 additions and 12 deletions
|
@ -105,11 +105,6 @@ willClose(GtkWidget *widget, GdkEvent *event, gpointer data)
|
||||||
gtk_widget_show_all(widget);
|
gtk_widget_show_all(widget);
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void)hide
|
|
||||||
{
|
|
||||||
gtk_widget_hide(widget);
|
|
||||||
}
|
|
||||||
|
|
||||||
- (BOOL)OG_willClose
|
- (BOOL)OG_willClose
|
||||||
{
|
{
|
||||||
OFAutoreleasePool *pool = [OFAutoreleasePool new];
|
OFAutoreleasePool *pool = [OFAutoreleasePool new];
|
||||||
|
|
|
@ -42,5 +42,4 @@
|
||||||
+ window;
|
+ window;
|
||||||
- (void)addChild: (OGWidget*)widget;
|
- (void)addChild: (OGWidget*)widget;
|
||||||
- (void)show;
|
- (void)show;
|
||||||
- (void)hide;
|
|
||||||
@end
|
@end
|
||||||
|
|
|
@ -130,12 +130,6 @@ static int CALLBACK Resize_EnumChildren(HWND child, LPARAM lparam)
|
||||||
ShowWindow(widget, SW_SHOWNORMAL);
|
ShowWindow(widget, SW_SHOWNORMAL);
|
||||||
}
|
}
|
||||||
//----------------------------------------------------------------------------------------------------------------------------------
|
//----------------------------------------------------------------------------------------------------------------------------------
|
||||||
- (void)hide
|
|
||||||
{
|
|
||||||
if(widget != NULL)
|
|
||||||
ShowWindow(widget, SW_HIDE);
|
|
||||||
}
|
|
||||||
//----------------------------------------------------------------------------------------------------------------------------------
|
|
||||||
- (BOOL)OG_willClose
|
- (BOOL)OG_willClose
|
||||||
{
|
{
|
||||||
OFAutoreleasePool *pool = [OFAutoreleasePool new];
|
OFAutoreleasePool *pool = [OFAutoreleasePool new];
|
||||||
|
|
Reference in a new issue