- (void)applicationDidFinishLaunching:(NSNotification *)aNotification
{
// Insert code here to initialize your application
WebViewRadio *themWeb = [[WebViewRadio alloc]init];
[themWeb frameSkinTheme:_window];
[_window setDelegate:self];
[[_window standardWindowButton:NSWindowZoomButton] setHidden:YES];
//[[_window standardWindowButton:NSWindowMiniaturizeButton] setHidden:YES];
//[_window standardWindowButton:NSWindowCloseButton]
//[NSApp hide:_window];
//[NSApp endSheet:_window];
}
-(BOOL)applicationShouldHandleReopen:(NSApplication *)theApplication hasVisibleWindows:(BOOL)flag{
NSLog(@"%hhd",flag);
[_window makeKeyAndOrderFront:nil];
return YES;
}
-(void)windowWillClose:(NSNotification *)notification{
//[NSApp terminate:self];
[NSApp hide:_window];
}