X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/50563ef1bdc4bb459fa0fc0951e2af598c317be4..d21d2e5adf7a5acf3b496a9c4e87eab220bd75d8:/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 )