From 78d774068b6a65c06d4e3c98b098ce9daa1da3b8 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Mon, 1 Sep 2003 20:01:55 +0000 Subject: [PATCH] reSWIGged git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23356 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wxPython/contrib/glcanvas/gtk/glcanvas.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/wxPython/contrib/glcanvas/gtk/glcanvas.cpp b/wxPython/contrib/glcanvas/gtk/glcanvas.cpp index e330e86c17..1d077db43c 100644 --- a/wxPython/contrib/glcanvas/gtk/glcanvas.cpp +++ b/wxPython/contrib/glcanvas/gtk/glcanvas.cpp @@ -55,6 +55,11 @@ extern PyObject *SWIG_newvarlink(void); #define SWIG_name "glcanvasc" #include "wxPython.h" + +#ifdef __WXMAC__ // avoid a bug in Carbon headers +#define scalb scalbn +#endif + #ifdef __WXMSW__ #include "myglcanvas.h" #else