Always use UTF-8 for file names passed to GTK+ functions under MSW.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 8 Apr 2012 18:10:29 +0000 (18:10 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 8 Apr 2012 18:10:29 +0000 (18:10 +0000)
commitc282e47d8f2179954ca40688677961c169688084
treeb9d12917fb4857e84f0819fc76965a724b99953b
parent527f168b34279ce38c89df6f089c4b179498044a
Always use UTF-8 for file names passed to GTK+ functions under MSW.

When building wxGTK under MSW, always use UTF-8 as file name encoding because
GTK+ doesn't use G_FILENAME_ENCODING there.

Add a helper wxGTK_CONV_FN() macro to hide the difference between the
platforms.

Closes #14035.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71154 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
include/wx/gtk/private.h
src/gtk/animate.cpp
src/gtk/app.cpp
src/gtk/bitmap.cpp
src/gtk/dirdlg.cpp
src/gtk/filectrl.cpp
src/gtk/filedlg.cpp
src/gtk/filehistory.cpp