1 | | Ok, gotcha. Sorry for the noise. |
| 1 | While wxwidgets is not universal (yet), because of dependencies on Carbon and Quicktime, py26-wxpython, when compiled on a universal python 2.6 environnement, tries to build himself universal, probably because it picks up the flags used for python 2.6 compiling during setup. Consequency: it fails miserably here: |
| 2 | |
| 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 | }}} |
| 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? |