wxString realname(libname);
if( !(flags & wxDL_VERBATIM) )
- realname += wxDynamicLibrary::GetDllExt();
+ realname += wxDynamicLibrary::GetDllExt(wxDL_MODULE);
wxPluginLibrary *entry;
if ( !entry )
{
- realname += wxDynamicLibrary::GetDllExt();
+ realname += wxDynamicLibrary::GetDllExt(wxDL_MODULE);
entry = FindByName(realname);
}