user: Only include winproc.h where necessary.
This commit is contained in:
parent
7b83af4b0e
commit
14fb1ddcc5
|
@ -22,7 +22,7 @@
|
|||
#define __WINE_CONTROLS_H
|
||||
|
||||
#include "winuser.h"
|
||||
#include "winproc.h"
|
||||
#include "wine/winbase16.h"
|
||||
|
||||
/* Built-in class names (see _Undocumented_Windows_ p.418) */
|
||||
#define POPUPMENU_CLASS_ATOMA MAKEINTATOMA(32768) /* PopupMenu */
|
||||
|
@ -45,6 +45,12 @@ struct builtin_class_descr
|
|||
HBRUSH brush; /* brush or system color */
|
||||
};
|
||||
|
||||
/* Class functions */
|
||||
struct tagCLASS; /* opaque structure */
|
||||
struct tagWND;
|
||||
extern void CLASS_RegisterBuiltinClasses(void);
|
||||
extern void CLASS_AddWindow( struct tagCLASS *class, struct tagWND *win, BOOL unicode );
|
||||
extern void CLASS_FreeModuleClasses( HMODULE16 hModule );
|
||||
|
||||
/* defwnd proc */
|
||||
extern HBRUSH DEFWND_ControlColor( HDC hDC, UINT ctlType );
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
#include "wownt32.h"
|
||||
#include "user_private.h"
|
||||
#include "win.h"
|
||||
#include "winproc.h"
|
||||
#include "controls.h"
|
||||
#include "wine/debug.h"
|
||||
|
||||
WINE_DEFAULT_DEBUG_CHANNEL(user);
|
||||
|
|
|
@ -33,6 +33,7 @@
|
|||
#include "wine/server.h"
|
||||
#include "wine/unicode.h"
|
||||
#include "win.h"
|
||||
#include "winproc.h"
|
||||
#include "user_private.h"
|
||||
#include "controls.h"
|
||||
#include "winpos.h"
|
||||
|
|
|
@ -49,11 +49,4 @@ extern INT_PTR WINPROC_CallDlgProc16( DLGPROC16 func, HWND16 hwnd, UINT16 msg, W
|
|||
extern INT_PTR WINPROC_CallDlgProcA( DLGPROC func, HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam );
|
||||
extern INT_PTR WINPROC_CallDlgProcW( DLGPROC func, HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam );
|
||||
|
||||
/* Class functions */
|
||||
struct tagCLASS; /* opaque structure */
|
||||
struct tagWND;
|
||||
extern void CLASS_RegisterBuiltinClasses(void);
|
||||
extern void CLASS_AddWindow( struct tagCLASS *class, struct tagWND *win, BOOL unicode );
|
||||
extern void CLASS_FreeModuleClasses( HMODULE16 hModule );
|
||||
|
||||
#endif /* __WINE_WINPROC_H */
|
||||
|
|
Loading…
Reference in New Issue