X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8e33de15b5d050e5c3a781e6f1ec059405f72c9b..7105649b88e11ec4531440632cffe7fb6f18f39c:/include/wx/cocoa/NSView.h diff --git a/include/wx/cocoa/NSView.h b/include/wx/cocoa/NSView.h index 9cea1d678a..4081d71eda 100644 --- a/include/wx/cocoa/NSView.h +++ b/include/wx/cocoa/NSView.h @@ -21,6 +21,8 @@ typedef struct CGRect NSRect; typedef struct _NSRect NSRect; #endif +struct objc_object; + class wxWindow; WX_DECLARE_OBJC_HASHMAP(NSView); @@ -32,7 +34,7 @@ public: void AssociateNSView(WX_NSView cocoaNSView); void DisassociateNSView(WX_NSView cocoaNSView); protected: - static void *sm_cocoaObserver; + static struct objc_object *sm_cocoaObserver; public: virtual wxWindow* GetWxWindow() const { return NULL; }