Fix handling of strings in wxPrintf() when using recent MinGW

MinGW-w64 (and apparently TDM too) defaults to using ANSI stdio functions
nowadays, which interpret format specifiers such as "%s" and "%c" in wide
string functions in the standard-conforming way, i.e. still expecting the
arguments of "char*" type, and not "wchar_t*" as MSVC and older MinGW did.
This commit is contained in:
Vadim Zeitlin
2016-02-10 15:22:51 +01:00
parent caf63a14cb
commit 06458cb89f
2 changed files with 8 additions and 1 deletions

View File

@@ -207,6 +207,7 @@ wxMSW:
- Return correct OS version under Windows 8.1 and later.
- Fix crash in wxD2DContext when using non-MSVC compiler (iwbnwif).
- Notify shell about the changes done by wxMimeTypesManager (Maarten Bent).
- Fix wxPrintf() and friends when using MinGW with ANSI stdio option.
wxOSX/Cocoa: