]> git.saurik.com Git - wxWidgets.git/commitdiff
suppress errors when loading uxtheme.dll
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 31 Jul 2003 00:58:16 +0000 (00:58 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 31 Jul 2003 00:58:16 +0000 (00:58 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22400 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/uxtheme.cpp

index e41159bad06da211b76310e9b8093ba2cc4bb32e..dee239cd43c05712d18bf5bbded0a9269ea2a347 100644 (file)
 
 #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;