Return "" and not "Unknown" from wxMSW wxGetCpuArchitectureName()

This is more consistent with the Unix version, and easier to test for
in the application code.
This commit is contained in:
Vadim Zeitlin
2020-12-12 15:18:29 +01:00
parent 86a3578a11
commit 5c4461a154
2 changed files with 4 additions and 1 deletions

View File

@@ -1297,7 +1297,7 @@ wxString wxGetCpuArchitectureName()
case PROCESSOR_ARCHITECTURE_UNKNOWN:
default:
return "Unknown";
return wxString();
}
}