X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ce00f59b5b169752d2f05ce3bb1a88ddc1b38b4c..d642db66a5efc82d374b813022c72ba88bc50839:/include/wx/osx/private/glgrab.h?ds=sidebyside 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