suppress errors when loading uxtheme.dll

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22400 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2003-07-31 00:58:16 +00:00
parent 8b97949eac
commit 7f9fe7891d

View File

@@ -39,10 +39,7 @@
#include "wx/module.h"
#include "wx/msw/wrapwin.h"
#include "wx/msw/uxtheme.h"
#include "wx/msw/private.h"
// ============================================================================
// wxUxThemeModule
@@ -111,6 +108,9 @@ wxUxThemeEngine* wxUxThemeEngine::Get()
bool wxUxThemeEngine::Initialize()
{
// we're prepared to handle the errors
wxLogNull noLog;
if ( !m_dllUxTheme.Load(_T("uxtheme.dll")) )
return false;