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