Moved most builtin controls structures into their respective C file.
Created new controls.h file private to user32.dll and moved remaining
builtin controls definitions there.
diff --git a/controls/edit.c b/controls/edit.c
index f4482a2..51f0191 100644
--- a/controls/edit.c
+++ b/controls/edit.c
@@ -21,7 +21,7 @@
#include "win.h"
#include "wine/winbase16.h"
#include "wine/winuser16.h"
-#include "combo.h"
+#include "controls.h"
#include "local.h"
#include "selectors.h"
#include "debugtools.h"
@@ -253,6 +253,24 @@
static LRESULT EDIT_WM_VScroll(WND *wnd, EDITSTATE *es, INT action, INT pos);
static void EDIT_UpdateText(WND *wnd, LPRECT rc, BOOL bErase);
+LRESULT WINAPI EditWndProc( HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam );
+
+
+
+/*********************************************************************
+ * edit class descriptor
+ */
+const struct builtin_class_descr EDIT_builtin_class =
+{
+ "Edit", /* name */
+ CS_GLOBALCLASS | CS_DBLCLKS /*| CS_PARENTDC*/, /* style */
+ EditWndProc, /* procA */
+ NULL, /* procW (FIXME) */
+ sizeof(EDITSTATE *), /* extra */
+ IDC_IBEAMA, /* cursor */
+ 0 /* brush */
+};
+
/*********************************************************************
*
@@ -342,7 +360,7 @@
/*********************************************************************
*
- * EditWndProc()
+ * EditWndProc (USER32.@)
*
* The messages are in the order of the actual integer values
* (which can be found in include/windows.h)
@@ -353,8 +371,7 @@
* names).
*
*/
-LRESULT WINAPI EditWndProc( HWND hwnd, UINT msg,
- WPARAM wParam, LPARAM lParam )
+LRESULT WINAPI EditWndProc( HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam )
{
WND *wnd = WIN_FindWndPtr(hwnd);
EDITSTATE *es = *(EDITSTATE **)((wnd)->wExtra);