3 | | {{{ |
4 | | src/mac/_gdi_wrap.cpp: In function 'PyObject* _wrap_Font_MacGetATSUFontID(PyObject*, PyObject*)': |
5 | | src/mac/_gdi_wrap.cpp:15883: error: 'class wxFont' has no member named 'MacGetATSUFontID' |
6 | | }}} |
7 | | |
8 | | because in the definition of the wxFont class, we read: |
9 | | |
10 | | {{{ |
11 | | #ifndef __LP64__ |
12 | | // 'old' Quickdraw accessors |
13 | | short MacGetFontNum() const; |
14 | | short MacGetFontSize() const; |
15 | | wxByte MacGetFontStyle() const; |
16 | | |
17 | | // 'new' ATSUI accessors |
18 | | wxUint32 MacGetATSUFontID() const; |
19 | | wxUint32 MacGetATSUAdditionalQDStyles() const; |
20 | | wxUint16 MacGetThemeFontID() const ; |
21 | | |
22 | | // Returns an ATSUStyle not ATSUStyle* |
23 | | void* MacGetATSUStyle() const ; |
24 | | #else |
25 | | const void * MacGetCTFont() const; |
26 | | // soon to be removed for 64bit, Returns an ATSUStyle not ATSUStyle* |
27 | | void* MacGetATSUStyle() const ; |
28 | | #endif |
29 | | }}} |
30 | | |
31 | | the wxFont class not being the same on 32 and 64-bit mode. |
32 | | |
33 | | Any idea to patch this up? |