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 aftera487dc88c1
. Closes #17335. (cherry picked from commit884f3c623d
)
This commit is contained in:
committed by
Dimitri Schoolwerth
parent
fc4cfd4b9b
commit
adb48b3c72
@@ -75,7 +75,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
|
||||
|
Reference in New Issue
Block a user