X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/50563ef1bdc4bb459fa0fc0951e2af598c317be4..a92b0cfd2bd0bef75b43c071df0b0e028f360d8e:/src/common/dynlib.cpp 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 )