wxWidgets/include/wx/cocoa/NSApplication.h
David Elliott 6fbcc6cac3 Observe NSControlTintDidChangeNotification in the application delegate.
TODO: Actually implement this to do something.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27932 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-22 04:16:22 +00:00

34 lines
1.3 KiB
Objective-C

///////////////////////////////////////////////////////////////////////////////
// Name: wx/cocoa/NSApplication.h
// Purpose: wxNSApplicationDelegate definition
// Author: David Elliott
// Modified by:
// Created: 2004/01/26
// RCS-ID: $Id$
// Copyright: (c) 2003,2004 David Elliott
// Licence: wxWindows licence
///////////////////////////////////////////////////////////////////////////////
#ifndef _WX_COCOA_NSAPPLICATION_H__
#define _WX_COCOA_NSAPPLICATION_H__
// ========================================================================
// wxNSApplicationDelegate
// ========================================================================
@interface wxNSApplicationDelegate : NSObject
{
}
// Delegate methods
- (BOOL)applicationShouldTerminateAfterLastWindowClosed:(NSApplication *)theApplication;
- (void)applicationWillBecomeActive:(NSNotification *)notification;
- (void)applicationDidBecomeActive:(NSNotification *)notification;
- (void)applicationWillResignActive:(NSNotification *)notification;
- (void)applicationDidResignActive:(NSNotification *)notification;
// Other notifications
- (void)controlTintChanged:(NSNotification *)notification;
@end // interface wxNSApplicationDelegate : NSObject
#endif //ndef _WX_COCOA_NSAPPLICATION_H__