]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/osx/private/glgrab.h
guarding agains NULL
[wxWidgets.git] / include / wx / osx / private / glgrab.h
index 9961f51c2ef165fe5068e6fcec5ea32fd55ef4e6..a3ceabe689917d17fefef5cb399baead381177ff 100644 (file)
@@ -4,7 +4,8 @@
     extern "C" {
 #endif
 
     extern "C" {
 #endif
 
-    CGImageRef grabViaOpenGL(CGDirectDisplayID display, CGRect srcRect);
+    CF_RETURNS_RETAINED CGImageRef grabViaOpenGL(CGDirectDisplayID display,
+                             CGRect srcRect);
 
 #if defined __cplusplus
     }
 
 #if defined __cplusplus
     }