X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ca5e07c7683a6b4c63dc6d4d05c75ba46d0b0de8..a99798d20c63467d5c29d8ed949aa245614b2f28:/src/common/string.cpp diff --git a/src/common/string.cpp b/src/common/string.cpp index d0b3facc6b..2a3ce18e41 100644 --- a/src/common/string.cpp +++ b/src/common/string.cpp @@ -164,10 +164,13 @@ wxSTD ostream& operator<<(wxSTD ostream& os, const wxString& str) // wxStringData class deallocation // =========================================================================== +#if defined(__VISUALC__) && defined(_MT) && !defined(_DLL) +# pragma message (__FILE__ ": building with Multithreaded non DLL runtime has a performance impact on wxString!") void wxStringData::Free() { free(this); } +#endif // =========================================================================== // wxString class core