From: Robin Dunn Date: Thu, 20 Jun 2002 21:53:11 +0000 (+0000) Subject: Changes needed to allow compilation with SunCC. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/1f1787645cf1c6cdc22dbfc6703279944953705a Changes needed to allow compilation with SunCC. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15894 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/wxPython/src/gtk/wx.cpp b/wxPython/src/gtk/wx.cpp index 3c34eb0fa8..3998a0e3a3 100644 --- a/wxPython/src/gtk/wx.cpp +++ b/wxPython/src/gtk/wx.cpp @@ -633,12 +633,12 @@ extern "C" SWIGEXPORT(void) initfontsc(); // the wxc module and will then have safe access to these functions, even if // in another shared library. static wxPyCoreAPI API = { - SWIG_MakePtr, - SWIG_GetPtr, - SWIG_GetPtrObj, - SWIG_RegisterMapping, - SWIG_addvarlink, - SWIG_newvarlink, + (p_SWIG_MakePtr_t)SWIG_MakePtr, + (p_SWIG_GetPtr_t)SWIG_GetPtr, + (p_SWIG_GetPtrObj_t)SWIG_GetPtrObj, + (p_SWIG_RegisterMapping_t)SWIG_RegisterMapping, + (p_SWIG_addvarlink_t)SWIG_addvarlink, + (p_SWIG_newvarlink_t)SWIG_newvarlink, wxPyBeginAllowThreads, wxPyEndAllowThreads,