Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
0cbf191a
Commit
0cbf191a
authored
Dec 17, 2009
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Pre-allocate the window procedure for the dialog class.
parent
80a09a78
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
2 deletions
+4
-2
controls.h
dlls/user32/controls.h
+1
-0
dialog.c
dlls/user32/dialog.c
+2
-2
winproc.c
dlls/user32/winproc.c
+1
-0
No files found.
dlls/user32/controls.h
View file @
0cbf191a
...
...
@@ -35,6 +35,7 @@ enum builtin_winprocs
{
WINPROC_BUTTON
=
0
,
WINPROC_COMBO
,
WINPROC_DIALOG
,
WINPROC_EDIT
,
WINPROC_LISTBOX
,
WINPROC_SCROLLBAR
,
...
...
dlls/user32/dialog.c
View file @
0cbf191a
...
...
@@ -97,8 +97,8 @@ const struct builtin_class_descr DIALOG_builtin_class =
{
(
LPCWSTR
)
DIALOG_CLASS_ATOM
,
/* name */
CS_SAVEBITS
|
CS_DBLCLKS
,
/* style */
DefDlgProcA
,
/* procA */
DefDlgProcW
,
/* procW */
NULL
,
/* procA */
BUILTIN_WINPROC
(
WINPROC_DIALOG
),
/* procW */
DLGWINDOWEXTRA
,
/* extra */
IDC_ARROW
,
/* cursor */
0
/* brush */
...
...
dlls/user32/winproc.c
View file @
0cbf191a
...
...
@@ -66,6 +66,7 @@ static WINDOWPROC winproc_array[MAX_WINPROCS] =
{
{
ButtonWndProcA
,
ButtonWndProcW
},
/* WINPROC_BUTTON */
{
ComboWndProcA
,
ComboWndProcW
},
/* WINPROC_COMBO */
{
DefDlgProcA
,
DefDlgProcW
},
/* WINPROC_DIALOG */
{
EditWndProcA
,
EditWndProcW
},
/* WINPROC_EDIT */
{
ListBoxWndProcA
,
ListBoxWndProcW
},
/* WINPROC_LISTBOX */
{
ScrollBarWndProcA
,
ScrollBarWndProcW
},
/* WINPROC_SCROLLBAR */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment