]> 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 bca90cb457d15734b429e01948f33f94607bde25..a3ceabe689917d17fefef5cb399baead381177ff 100644 (file)
@@ -4,7 +4,7 @@
     extern "C" {
 #endif
 
-    CGImageRef grabViaOpenGL(CGDirectDisplayID display, 
+    CF_RETURNS_RETAINED CGImageRef grabViaOpenGL(CGDirectDisplayID display,
                              CGRect srcRect);
 
 #if defined __cplusplus