]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/cocoa/NSView.h
Added wxCriticalSection::TryEnter() method.
[wxWidgets.git] / include / wx / cocoa / NSView.h
index 9cea1d678aa52cb7aa26e97c6865b7070dd61795..4081d71eda3b1ecd49d416e7cc214c6edfa026a7 100644 (file)
@@ -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; }