X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/50563ef1bdc4bb459fa0fc0951e2af598c317be4..0ded6bb695f82a0b98d0862ec6870fc5c6cb8b97:/src/common/dynlib.cpp?ds=sidebyside diff --git a/src/common/dynlib.cpp b/src/common/dynlib.cpp index dc2fe27bea..3660cc21f8 100644 --- a/src/common/dynlib.cpp +++ b/src/common/dynlib.cpp @@ -255,7 +255,7 @@ wxDllLoader::LoadLibrary(const wxString & libname, bool *success) char zError[256] = ""; wxDllOpen(zError, libname, handle); #else // !Mac - handle = wxDllOpen(libname.c_str()); + handle = wxDllOpen(libname); #endif // OS if ( !handle )