Replace calls to deprecated wxBasicString::Get() with calls to wxBasicString::Detach() which is not deprecated but also more efficient in cases like these.

This commit is contained in:
PB
2017-06-23 17:32:03 +02:00
parent 60563ce0ce
commit 9030d9390a
4 changed files with 22 additions and 28 deletions

View File

@@ -38,7 +38,7 @@
WXDLLEXPORT BSTR wxConvertStringToOle(const wxString& str)
{
return wxBasicString(str).Get();
return wxBasicString(str).Detach();
}
WXDLLEXPORT wxString wxConvertStringFromOle(BSTR bStr)