From ba38a93d2a63bcd5de521fef254e9bbee1651b8e Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Sun, 8 Jun 2008 15:53:15 +0000 Subject: [PATCH] changing to c name mangling, so that glgrab.c can use it git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54029 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/mac/carbon/private.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/wx/mac/carbon/private.h b/include/wx/mac/carbon/private.h index 946809e9f2..59eeeef2b8 100644 --- a/include/wx/mac/carbon/private.h +++ b/include/wx/mac/carbon/private.h @@ -1229,7 +1229,7 @@ private: #ifdef __WXMAC_OSX__ -CGColorSpaceRef wxMacGetGenericRGBColorSpace(void); +extern "C" CGColorSpaceRef wxMacGetGenericRGBColorSpace(void); void wxMacMemoryBufferReleaseProc(void *info, const void *data, size_t size); #endif