Use a delegate instead of manually adding notifications. Not only is this
less code, but a delegate will be required for future functionality. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23294 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -29,7 +29,7 @@ public:
|
||||
virtual void CocoaNotification_DidBecomeKey(void) { }
|
||||
virtual void CocoaNotification_DidResignKey(void) { }
|
||||
protected:
|
||||
static void *sm_cocoaObserver;
|
||||
static struct objc_object *sm_cocoaDelegate;
|
||||
};
|
||||
|
||||
#endif // _WX_COCOA_NSWINDOW_H_
|
||||
|
Reference in New Issue
Block a user