Commit 77b2185e authored by Dmitry Timoshkov's avatar Dmitry Timoshkov Committed by Alexandre Julliard

Remove redundant includes.

Eliminate use of USER internal structures.
parent 76386564
...@@ -24,7 +24,6 @@ ...@@ -24,7 +24,6 @@
#include "windef.h" #include "windef.h"
#include "wingdi.h" #include "wingdi.h"
#include "winuser.h" #include "winuser.h"
#include "win.h"
#include "winnls.h" #include "winnls.h"
#include "commctrl.h" #include "commctrl.h"
#include "comctl32.h" #include "comctl32.h"
......
...@@ -43,7 +43,6 @@ ...@@ -43,7 +43,6 @@
#include "class.h" #include "class.h"
#include "winbase.h" #include "winbase.h"
#include "wingdi.h" #include "wingdi.h"
#include "win.h"
#include "wine/unicode.h" #include "wine/unicode.h"
#include "wine/winestring.h" #include "wine/winestring.h"
#include "commctrl.h" #include "commctrl.h"
...@@ -1091,15 +1090,14 @@ REBAR_InternalEraseBkGnd (HWND hwnd, WPARAM wParam, LPARAM lParam, RECT *clip) ...@@ -1091,15 +1090,14 @@ REBAR_InternalEraseBkGnd (HWND hwnd, WPARAM wParam, LPARAM lParam, RECT *clip)
/* default brush, then with any band that has a different */ /* default brush, then with any band that has a different */
/* background color. */ /* background color. */
{ {
WND * wndPtr = WIN_FindWndPtr( hwnd ); HBRUSH hbrBackground = GetClassWord(hwnd, GCW_HBRBACKGROUND);
REBAR_INFO *infoPtr = REBAR_GetInfoPtr (hwnd); REBAR_INFO *infoPtr = REBAR_GetInfoPtr (hwnd);
RECT eraserect; RECT eraserect;
REBAR_BAND *lpBand; REBAR_BAND *lpBand;
INT i; INT i;
if (wndPtr->class->hbrBackground) if (hbrBackground)
FillRect( (HDC) wParam, clip, wndPtr->class->hbrBackground); FillRect( (HDC) wParam, clip, hbrBackground);
WIN_ReleaseWndPtr(wndPtr);
for(i=0; i<infoPtr->uNumBands; i++) { for(i=0; i<infoPtr->uNumBands; i++) {
lpBand = &infoPtr->bands[i]; lpBand = &infoPtr->bands[i];
......
...@@ -25,7 +25,6 @@ ...@@ -25,7 +25,6 @@
#include "dlgs.h" #include "dlgs.h"
#include "module.h" #include "module.h"
#include "debugtools.h" #include "debugtools.h"
#include "winproc.h"
#include "cderr.h" #include "cderr.h"
DEFAULT_DEBUG_CHANNEL(commdlg); DEFAULT_DEBUG_CHANNEL(commdlg);
......
...@@ -15,7 +15,6 @@ ...@@ -15,7 +15,6 @@
#include "ldt.h" #include "ldt.h"
#include "module.h" #include "module.h"
#include "debugtools.h" #include "debugtools.h"
#include "winproc.h"
#include "cderr.h" #include "cderr.h"
DEFAULT_DEBUG_CHANNEL(commdlg) DEFAULT_DEBUG_CHANNEL(commdlg)
......
...@@ -23,7 +23,6 @@ ...@@ -23,7 +23,6 @@
#include "module.h" #include "module.h"
#include "debugtools.h" #include "debugtools.h"
#include "font.h" #include "font.h"
#include "winproc.h"
#include "cderr.h" #include "cderr.h"
DEFAULT_DEBUG_CHANNEL(commdlg); DEFAULT_DEBUG_CHANNEL(commdlg);
......
...@@ -21,7 +21,6 @@ ...@@ -21,7 +21,6 @@
#include "dlgs.h" #include "dlgs.h"
#include "module.h" #include "module.h"
#include "debugtools.h" #include "debugtools.h"
#include "winproc.h"
#include "cderr.h" #include "cderr.h"
#include "winspool.h" #include "winspool.h"
#include "winerror.h" #include "winerror.h"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment