X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ce00f59b5b169752d2f05ce3bb1a88ddc1b38b4c..8e77fd8bca165aab9709649d79a7cbc6a172d4e1:/include/wx/osx/private/glgrab.h diff --git a/include/wx/osx/private/glgrab.h b/include/wx/osx/private/glgrab.h index 3ec2df8f4e..a3ceabe689 100644 --- a/include/wx/osx/private/glgrab.h +++ b/include/wx/osx/private/glgrab.h @@ -4,7 +4,7 @@ extern "C" { #endif - CGImageRef grabViaOpenGL(CGDirectDisplayID display, + CF_RETURNS_RETAINED CGImageRef grabViaOpenGL(CGDirectDisplayID display, CGRect srcRect); #if defined __cplusplus