Opened 11 years ago

Closed 11 years ago

#12186 closed defect (fixed)

Assert in wxString::Format under 64-bit Cocoa

Reported by: gmeeker Owned by:
Priority: normal Milestone:
Component: wxOSX Version: stable-latest
Keywords: 64-bit cocoa font format Cc:
Blocked By: Blocking:
Patch: yes

Description

The arguments don't match the format string in carbon/font.cpp when compiling as 64-bit. This causes an assert to fail at runtime.

Attachments (1)

wxWidgets-carbonfont.diff download (703 bytes) - added by gmeeker 11 years ago.

Download all attachments as: .zip

Change History (2)

Changed 11 years ago by gmeeker

comment:1 Changed 11 years ago by VZ

  • Resolution set to fixed
  • Status changed from new to closed

(In [64965]) Use correct format specifiers in wxOSX/Carbon font caching code.

The specifiers used didn't match the actual argument types resulting in the
asserts from the new wxPrintf() code. Correct them to match the real types.

Closes #12186.

Note: See TracTickets for help on using tickets.