Remove redundant includes.

Eliminate use of USER internal structures.
oldstable
Dmitry Timoshkov 2000-11-15 22:15:52 +00:00 committed by Alexandre Julliard
parent 76386564a6
commit 77b2185e1c
6 changed files with 3 additions and 10 deletions

View File

@ -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"

View File

@ -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)
/* 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];

View File

@ -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);

View File

@ -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)

View File

@ -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);

View File

@ -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"