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 @@
#include "windef.h"
#include "wingdi.h"
#include "winuser.h"
#include "win.h"
#include "winnls.h"
#include "commctrl.h"
#include "comctl32.h"
......
......@@ -43,7 +43,6 @@
#include "class.h"
#include "winbase.h"
#include "wingdi.h"
#include "win.h"
#include "wine/unicode.h"
#include "wine/winestring.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 */
/* background color. */
{
WND * wndPtr = WIN_FindWndPtr( hwnd );
HBRUSH hbrBackground = GetClassWord(hwnd, GCW_HBRBACKGROUND);
REBAR_INFO *infoPtr = REBAR_GetInfoPtr (hwnd);
RECT eraserect;
REBAR_BAND *lpBand;
INT i;
if (wndPtr->class->hbrBackground)
FillRect( (HDC) wParam, clip, wndPtr->class->hbrBackground);
WIN_ReleaseWndPtr(wndPtr);
if (hbrBackground)
FillRect( (HDC) wParam, clip, hbrBackground);
for(i=0; i<infoPtr->uNumBands; i++) {
lpBand = &infoPtr->bands[i];
......
......@@ -25,7 +25,6 @@
#include "dlgs.h"
#include "module.h"
#include "debugtools.h"
#include "winproc.h"
#include "cderr.h"
DEFAULT_DEBUG_CHANNEL(commdlg);
......
......@@ -15,7 +15,6 @@
#include "ldt.h"
#include "module.h"
#include "debugtools.h"
#include "winproc.h"
#include "cderr.h"
DEFAULT_DEBUG_CHANNEL(commdlg)
......
......@@ -23,7 +23,6 @@
#include "module.h"
#include "debugtools.h"
#include "font.h"
#include "winproc.h"
#include "cderr.h"
DEFAULT_DEBUG_CHANNEL(commdlg);
......
......@@ -21,7 +21,6 @@
#include "dlgs.h"
#include "module.h"
#include "debugtools.h"
#include "winproc.h"
#include "cderr.h"
#include "winspool.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