[UXTHEME]
authorAmine Khaldi <amine.khaldi@reactos.org>
Sat, 28 Dec 2013 00:19:58 +0000 (00:19 +0000)
committerAmine Khaldi <amine.khaldi@reactos.org>
Sat, 28 Dec 2013 00:19:58 +0000 (00:19 +0000)
* Set the default debugging channel globally through the main header.
* Remove one time inclusions from the main header and put them back where they belong.
CORE-7716

svn path=/trunk/; revision=61456

13 files changed:
reactos/dll/win32/uxtheme/buffer.c
reactos/dll/win32/uxtheme/draw.c
reactos/dll/win32/uxtheme/main.c
reactos/dll/win32/uxtheme/metric.c
reactos/dll/win32/uxtheme/msstyles.c
reactos/dll/win32/uxtheme/ncscrollbar.c
reactos/dll/win32/uxtheme/nonclient.c
reactos/dll/win32/uxtheme/property.c
reactos/dll/win32/uxtheme/stylemap.c
reactos/dll/win32/uxtheme/system.c
reactos/dll/win32/uxtheme/themehooks.c
reactos/dll/win32/uxtheme/uxini.c
reactos/dll/win32/uxtheme/uxthemep.h

index c58cfe4..afe749e 100644 (file)
@@ -19,9 +19,6 @@
  */
 
 #include "uxthemep.h"
-#include <wine/debug.h>
-
-WINE_DEFAULT_DEBUG_CHANNEL(uxtheme);
 
 /***********************************************************************
  *      BufferedPaintInit                                  (UXTHEME.@)
index 95a687a..f0430e7 100644 (file)
@@ -19,9 +19,8 @@
  */
 
 #include "uxthemep.h"
-#include <wine/debug.h>
 
-WINE_DEFAULT_DEBUG_CHANNEL(uxtheme);
+#include <stdlib.h>
 
 /***********************************************************************
  * Defines and global variables
index ff1f7f4..4eb6eb3 100644 (file)
@@ -19,9 +19,6 @@
  */
 
 #include "uxthemep.h"
-#include <wine/debug.h>
-
-WINE_DEFAULT_DEBUG_CHANNEL(uxtheme);
 
 /***********************************************************************/
 
index b8eb77a..77deddb 100644 (file)
@@ -19,9 +19,6 @@
  */
 
 #include "uxthemep.h"
-#include <wine/debug.h>
-
-WINE_DEFAULT_DEBUG_CHANNEL(uxtheme);
 
 /***********************************************************************
  *      GetThemeSysBool                                     (UXTHEME.@)
index d91f62c..f2f98c5 100644 (file)
  */
 
 #include "uxthemep.h"
-#include <wine/debug.h>
-#include <wine/unicode.h>
 
-WINE_DEFAULT_DEBUG_CHANNEL(uxtheme);
+#include <wine/unicode.h>
 
 /***********************************************************************
  * Defines and global variables
index 4835dd2..9243136 100644 (file)
@@ -10,9 +10,8 @@
  */
  
 #include "uxthemep.h"
-#include <wine/debug.h>
 
-WINE_DEFAULT_DEBUG_CHANNEL(uxtheme);
+#include <assert.h>
 
 static BOOL SCROLL_trackVertical;
 static enum SCROLL_HITTEST SCROLL_trackHitTest;
index 0ad4584..ad9365f 100644 (file)
@@ -7,9 +7,6 @@
  */
  
 #include "uxthemep.h"
-#include <wine/debug.h>
-
-WINE_DEFAULT_DEBUG_CHANNEL(uxtheme);
 
 HFONT hMenuFont = NULL;
 HFONT hMenuFontBold = NULL;
index d80c893..f3e1c12 100644 (file)
@@ -19,9 +19,6 @@
  */
 
 #include "uxthemep.h"
-#include <wine/debug.h>
-
-WINE_DEFAULT_DEBUG_CHANNEL(uxtheme);
 
 /***********************************************************************
  *      GetThemeBool                                        (UXTHEME.@)
index 980e154..1359e72 100644 (file)
@@ -19,7 +19,6 @@
  */
 
 #include "uxthemep.h"
-#include <wine/debug.h>
 
 typedef struct _MSSTYLES_PROPERTY_MAP {
     WORD dwPrimitiveType;
index 3e90ae7..2f2799f 100644 (file)
@@ -19,9 +19,9 @@
  */
 
 #include "uxthemep.h"
-#include <wine/debug.h>
 
-WINE_DEFAULT_DEBUG_CHANNEL(uxtheme);
+#include <winreg.h>
+#include <uxundoc.h>
 
 /***********************************************************************
  * Defines and global variables
index 00a72d6..85081dc 100644 (file)
@@ -7,9 +7,6 @@
  */
  
 #include "uxthemep.h"
-#include <wine/debug.h>
-
-WINE_DEFAULT_DEBUG_CHANNEL(uxtheme);
 
 USERAPIHOOK user32ApiHook;
 BYTE gabDWPmessages[UAHOWP_MAX_SIZE];
index cb3899c..edc2ddf 100644 (file)
  */
 
 #include "uxthemep.h"
-#include <wine/debug.h>
-
-WINE_DEFAULT_DEBUG_CHANNEL(uxtheme);
-
+#include <winnls.h>
 /***********************************************************************
  * Defines and global variables
  */
index ba8c7e9..c54e193 100644 (file)
@@ -1,21 +1,19 @@
 #include <stdio.h>
-#include <assert.h>
-#include <stdlib.h>
 
 #define WIN32_NO_STATUS
 #include <windef.h>
 #include <winbase.h>
 #include <wingdi.h>
-#include <winreg.h>
-#include <winnls.h>
 #include <winuser.h>
 #include <windowsx.h>
 #include <undocuser.h>
 #include <uxtheme.h>
-#include <uxundoc.h>
 #include <vfwmsgs.h>
 #include <tmschema.h>
 
+#include <wine/debug.h>
+WINE_DEFAULT_DEBUG_CHANNEL(uxtheme);
+
 #define TMT_ENUM 200
 
 #define MAX_THEME_APP_NAME 60