Changes between Version 3 and Version 4 of Ticket #19583


Ignore:
Timestamp:
Jan 19, 2010, 2:05:36 AM (14 years ago)
Author:
ryandesign (Ryan Carsten Schmidt)
Comment:

I'm setting the ticket description back to what it originally was and moving your note into your comment above.

I'm not sure though from the text in this ticket what the resolution to this issue turned out to be.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #19583 – Description

    v3 v4  
    1 Ok, gotcha. Sorry for the noise.
     1While 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{{{
     4src/mac/_gdi_wrap.cpp: In function 'PyObject* _wrap_Font_MacGetATSUFontID(PyObject*, PyObject*)':
     5src/mac/_gdi_wrap.cpp:15883: error: 'class wxFont' has no member named 'MacGetATSUFontID'
     6}}}
    27
     8because 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
     31the wxFont class not being the same on 32 and 64-bit mode.
     32
     33Any idea to patch this up?