]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/contrib/glcanvas/msw/glcanvas.cpp
fix text scrolling in GTK2 (patch 703988)
[wxWidgets.git] / wxPython / contrib / glcanvas / msw / glcanvas.cpp
index 6ce847b3f5cbf5667a1fc017914031d20448bdc4..47b3d9c3b0c1ba451cb778e2f1e601364776cd3d 100644 (file)
@@ -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