X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/047c1182f94ca7941b08170cddbb5880f1023055..d642db66a5efc82d374b813022c72ba88bc50839:/include/wx/cocoa/NSApplication.h diff --git a/include/wx/cocoa/NSApplication.h b/include/wx/cocoa/NSApplication.h index 6ce223f48e..112b9ce75d 100644 --- a/include/wx/cocoa/NSApplication.h +++ b/include/wx/cocoa/NSApplication.h @@ -12,12 +12,14 @@ #ifndef _WX_COCOA_NSAPPLICATION_H__ #define _WX_COCOA_NSAPPLICATION_H__ +#include "wx/cocoa/objc/objc_uniquifying.h" + // ======================================================================== // wxNSApplicationDelegate // ======================================================================== /*! @class wxNSApplicationDelegate - @discussion Implements an NSApplication delegate which can respond to messages sent by Cocoa to change Cocoa's behavior. + @discussion Implements an NSApplication delegate which can respond to messages sent by Cocoa to change Cocoa's behaviour. wxCocoa will set a singleton instance of this class as the NSApplication delegate upon startup unless wxWidgets is running in a "plugin" manner in which case it would not be appropriate to do this. @@ -32,6 +34,7 @@ // Delegate methods - (BOOL)applicationShouldTerminateAfterLastWindowClosed:(NSApplication *)theApplication; @end // interface wxNSApplicationDelegate : NSObject +WX_DECLARE_GET_OBJC_CLASS(wxNSApplicationDelegate,NSObject) // ======================================================================== // wxNSApplicationObserver @@ -60,5 +63,6 @@ // Other notifications - (void)controlTintChanged:(NSNotification *)notification; @end // interface wxNSApplicationObserver : NSObject +WX_DECLARE_GET_OBJC_CLASS(wxNSApplicationObserver,NSObject) #endif //ndef _WX_COCOA_NSAPPLICATION_H__