Add missing t_str() call to fix wxUSE_STL build after r73792.

Don't rely on implicit conversion from wxString to wxChar* which is not
available in all builds.

Closes #15145.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73808 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2013-04-11 16:54:36 +00:00
parent 9ad2035a4f
commit 5ae1a66970

View File

@@ -377,7 +377,7 @@ WXHMODULE wxDynamicLibrary::MSWGetModuleHandle(const wxString& name, void *addr)
return hmod; return hmod;
} }
return ::GetModuleHandle(name); return ::GetModuleHandle(name.t_str());
} }
#endif // wxUSE_DYNLIB_CLASS #endif // wxUSE_DYNLIB_CLASS