static void ResolveShellFunctions()
{
+#if wxUSE_DYNLIB_CLASS
+
// start with the newest functions, fall back to the oldest ones
#ifdef __WXWINCE__
wxString shellDllName(_T("coredll"));
wxDynamicLibrary dllShellFunctions( shellDllName );
if ( !dllShellFunctions.IsLoaded() )
{
- wxString traceMessage = wxString::Format( _T("Failed to load %s.dll"), shellDllName );
- wxLogTrace(TRACE_MASK, traceMessage );
+ wxLogTrace(TRACE_MASK, _T("Failed to load %s.dll"), shellDllName.c_str() );
}
// don't give errors if the functions are unavailable, we're ready to deal
// because we also link to it statically, so it's ok
gs_shellFuncs.initialized = true;
+#endif
}
// ============================================================================