Author: gadamopoulos
Date: Tue Jul 12 19:45:49 2011
New Revision: 52662

URL: http://svn.reactos.org/svn/reactos?rev=52662&view=rev
Log:
[uxtheme]
- Fix build

Modified:
    branches/GSoC_2011/ThemesSupport/dll/win32/uxtheme/ncscrollbar.c
    branches/GSoC_2011/ThemesSupport/dll/win32/uxtheme/nonclient.c
    branches/GSoC_2011/ThemesSupport/dll/win32/uxtheme/themehooks.c

Modified: branches/GSoC_2011/ThemesSupport/dll/win32/uxtheme/ncscrollbar.c
URL: 
http://svn.reactos.org/svn/reactos/branches/GSoC_2011/ThemesSupport/dll/win32/uxtheme/ncscrollbar.c?rev=52662&r1=52661&r2=52662&view=diff
==============================================================================
--- branches/GSoC_2011/ThemesSupport/dll/win32/uxtheme/ncscrollbar.c 
[iso-8859-1] (original)
+++ branches/GSoC_2011/ThemesSupport/dll/win32/uxtheme/ncscrollbar.c 
[iso-8859-1] Tue Jul 12 19:45:49 2011
@@ -24,6 +24,7 @@
 static BOOL SCROLL_trackVertical;
 static enum SCROLL_HITTEST SCROLL_trackHitTest;
 /* Is the moving thumb being displayed? */
+static BOOL SCROLL_MovingThumb = FALSE;
 static HWND SCROLL_TrackingWin = 0;
 static INT  SCROLL_TrackingBar = 0;
 static INT  SCROLL_TrackingPos = 0;
@@ -277,7 +278,6 @@
 void 
 ThemeDrawScrollBar(PDRAW_CONTEXT pcontext, INT nBar, POINT* pt)
 {
-    BOOL Save_SCROLL_MovingThumb = SCROLL_MovingThumb;
     SCROLLINFO si;
     SCROLLBARINFO sbi;
     BOOL vertical;

Modified: branches/GSoC_2011/ThemesSupport/dll/win32/uxtheme/nonclient.c
URL: 
http://svn.reactos.org/svn/reactos/branches/GSoC_2011/ThemesSupport/dll/win32/uxtheme/nonclient.c?rev=52662&r1=52661&r2=52662&view=diff
==============================================================================
--- branches/GSoC_2011/ThemesSupport/dll/win32/uxtheme/nonclient.c [iso-8859-1] 
(original)
+++ branches/GSoC_2011/ThemesSupport/dll/win32/uxtheme/nonclient.c [iso-8859-1] 
Tue Jul 12 19:45:49 2011
@@ -35,7 +35,7 @@
     hMenuFont = CreateFontIndirect(&ncm.lfMenuFont);
 
     ncm.lfMenuFont.lfWeight = max(ncm.lfMenuFont.lfWeight + 300, 1000);
-    hMenuFontBold = CreateFontIndirectW(&ncm.lfMenuFont);
+    hMenuFontBold = CreateFontIndirect(&ncm.lfMenuFont);
 
 }
 

Modified: branches/GSoC_2011/ThemesSupport/dll/win32/uxtheme/themehooks.c
URL: 
http://svn.reactos.org/svn/reactos/branches/GSoC_2011/ThemesSupport/dll/win32/uxtheme/themehooks.c?rev=52662&r1=52661&r2=52662&view=diff
==============================================================================
--- branches/GSoC_2011/ThemesSupport/dll/win32/uxtheme/themehooks.c 
[iso-8859-1] (original)
+++ branches/GSoC_2011/ThemesSupport/dll/win32/uxtheme/themehooks.c 
[iso-8859-1] Tue Jul 12 19:45:49 2011
@@ -11,7 +11,7 @@
 
 #include "vfwmsgs.h"
 #include "uxtheme.h"
-
+#include "uxthemedll.h"
 #include "wine/debug.h"
 
 WINE_DEFAULT_DEBUG_CHANNEL(uxtheme);


Reply via email to