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
d88c3409
Commit
d88c3409
authored
Dec 18, 2009
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Pre-allocate the window procedure for the icon title class.
parent
0c4e151e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
3 deletions
+4
-3
controls.h
dlls/user32/controls.h
+2
-0
icontitle.c
dlls/user32/icontitle.c
+1
-3
winproc.c
dlls/user32/winproc.c
+1
-0
No files found.
dlls/user32/controls.h
View file @
d88c3409
...
...
@@ -45,6 +45,7 @@ enum builtin_winprocs
WINPROC_STATIC
,
/* unicode-only procs */
WINPROC_DESKTOP
,
WINPROC_ICONTITLE
,
NB_BUILTIN_WINPROCS
,
NB_BUILTIN_AW_WINPROCS
=
WINPROC_DESKTOP
};
...
...
@@ -79,6 +80,7 @@ extern const struct builtin_class_descr SCROLL_builtin_class DECLSPEC_HIDDEN;
extern
const
struct
builtin_class_descr
STATIC_builtin_class
DECLSPEC_HIDDEN
;
extern
LRESULT
WINAPI
DesktopWndProc
(
HWND
,
UINT
,
WPARAM
,
LPARAM
)
DECLSPEC_HIDDEN
;
extern
LRESULT
WINAPI
IconTitleWndProc
(
HWND
,
UINT
,
WPARAM
,
LPARAM
)
DECLSPEC_HIDDEN
;
/* Wow handlers */
...
...
dlls/user32/icontitle.c
View file @
d88c3409
...
...
@@ -38,8 +38,6 @@
static
BOOL
bMultiLineTitle
;
static
HFONT
hIconTitleFont
;
static
LRESULT
WINAPI
IconTitleWndProc
(
HWND
hWnd
,
UINT
msg
,
WPARAM
wParam
,
LPARAM
lParam
);
/*********************************************************************
* icon title class descriptor
*/
...
...
@@ -48,7 +46,7 @@ const struct builtin_class_descr ICONTITLE_builtin_class =
(
LPCWSTR
)
ICONTITLE_CLASS_ATOM
,
/* name */
0
,
/* style */
NULL
,
/* procA (winproc is Unicode only) */
IconTitleWndProc
,
/* procW */
BUILTIN_WINPROC
(
WINPROC_ICONTITLE
),
/* procW */
0
,
/* extra */
IDC_ARROW
,
/* cursor */
0
/* brush */
...
...
dlls/user32/winproc.c
View file @
d88c3409
...
...
@@ -75,6 +75,7 @@ static WINDOWPROC winproc_array[MAX_WINPROCS] =
{
ScrollBarWndProcA
,
ScrollBarWndProcW
},
/* WINPROC_SCROLLBAR */
{
StaticWndProcA
,
StaticWndProcW
},
/* WINPROC_STATIC */
{
NULL
,
DesktopWndProc
},
/* WINPROC_DESKTOP */
{
NULL
,
IconTitleWndProc
},
/* WINPROC_ICONTITLE */
};
static
UINT
winproc_used
=
NB_BUILTIN_WINPROCS
;
...
...
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