]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/string.cpp
(hopefully) finished subcell selection
[wxWidgets.git] / src / common / string.cpp
index d0b3facc6b40bd21f8c5974004592df0cef3350b..2a3ce18e41040cb034cdb906a5eddfc0c678cae7 100644 (file)
@@ -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