git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19714
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
{
s_triedToLoad = TRUE;
+ // don't give errors about the DLL being unavailable, we're
+ // prepared to handle this
+ wxLogNull nolog;
+
wxDynamicLibrary dll(_T("msimg32.dll"));
if ( dll.IsLoaded() )
{
if ( pfnAlphaBlend )
{
// we must keep the DLL loaded if we want to be able to
- // call AlphaBlend() so just never unload it at all
+ // call AlphaBlend() so just never unload it at all, not a
+ // big deal
dll.Detach();
}
}