Work around a bug in the Carbon headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23348 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
39b9cdaff4
commit
6e4d60a3b8
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user