From 50563ef1bdc4bb459fa0fc0951e2af598c317be4 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Thu, 4 Oct 2001 01:46:30 +0000 Subject: [PATCH] Unicode compilation fix git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11818 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/dynlib.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/dynlib.cpp b/src/common/dynlib.cpp index 3660cc21f8..dc2fe27bea 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); + handle = wxDllOpen(libname.c_str()); #endif // OS if ( !handle ) -- 2.45.2