X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/afd5d91cae0ef66ac743ffb26c55e33af4735c0f..f5fac4471b361f54ae6a09f6047ae4dbe30fcb86:/include/wx/osx/private/glgrab.h diff --git a/include/wx/osx/private/glgrab.h b/include/wx/osx/private/glgrab.h index bca90cb457..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