]> git.saurik.com Git - wxWidgets.git/commitdiff
Unicode compilation fix
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 4 Oct 2001 01:46:30 +0000 (01:46 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 4 Oct 2001 01:46:30 +0000 (01:46 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11818 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/dynlib.cpp

index 3660cc21f81211392d5d2fddb3cf28be82a286d1..dc2fe27bea5ae00f6d8d19e998a0787860ebc7c5 100644 (file)
@@ -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 )