Use wmain() if supported by the compiler/CRT instead of main().
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 30 Aug 2012 20:19:57 +0000 (20:19 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 30 Aug 2012 20:19:57 +0000 (20:19 +0000)
commitbfa78c63b9045c2a594ca6f04dc26a70c21f5f42
tree524f290702f9cec3445344672f7af226818b8f84
parent6ae941a68cad8767173df6064e7f24d7b163de54
Use wmain() if supported by the compiler/CRT instead of main().

This avoids a needless conversion from (originally Unicode) command line to
ANSI by the CRT and conversion back by wxWidgets and, especially, ensures that
there is no data loss if the Unicode command line arguments can't be converted
into the current charset.

See #14580.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72402 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
include/wx/app.h