X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4fcb208a4fdd14091d122f9630c18335b8c2c2d3..f5fac4471b361f54ae6a09f6047ae4dbe30fcb86:/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 9961f51c2e..a3ceabe689 100644 --- a/include/wx/osx/private/glgrab.h +++ b/include/wx/osx/private/glgrab.h @@ -4,7 +4,8 @@ extern "C" { #endif - CGImageRef grabViaOpenGL(CGDirectDisplayID display, CGRect srcRect); + CF_RETURNS_RETAINED CGImageRef grabViaOpenGL(CGDirectDisplayID display, + CGRect srcRect); #if defined __cplusplus }