Fix wxMSW wxMimeTypesManager compilation in UTF-8 build

Use wxStringCharType with wxS(), not wxChar (which should be used with wxT())
to fix UTF-8 build after 0ed580f451.

Closes #17335.
This commit is contained in:
Vadim Zeitlin
2016-01-17 14:09:04 +01:00
parent 1d0cd95c8e
commit 884f3c623d

View File

@@ -90,7 +90,7 @@ class WXDLLIMPEXP_FWD_CORE wxIcon;
// permissions. So the right thing to do is to use HKCR when reading, to
// respect both per-user and machine-global associations, but only write under
// HKCU.
static const wxChar *CLASSES_ROOT_KEY = wxS("Software\\Classes\\");
static const wxStringCharType *CLASSES_ROOT_KEY = wxS("Software\\Classes\\");
// although I don't know of any official documentation which mentions this
// location, uses it, so it isn't likely to change