"fixes" char vs wchar issue when wx is present