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:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user