Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix wxString::GetCache() compilation in UTF-8 DLL build with MSVS
Don't declare static Cache variable inside wxString declaration itself because it is implicitly DLL-exported, due to the use of __declspec(dllexport) for the entire wxString class, but thread-specific variables can't be exported, so this resulted in a compilation error. Avoid this by using a static thread-specific variable inside GetCache(), which had to be moved out of line.
- Loading branch information