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
13cd63af
Commit
13cd63af
authored
Apr 02, 2007
by
Andrew Talbot
Committed by
Alexandre Julliard
Apr 03, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32: Constify some variables.
parent
8366dd17
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
theme_combo.c
dlls/comctl32/theme_combo.c
+1
-1
tooltips.c
dlls/comctl32/tooltips.c
+5
-5
No files found.
dlls/comctl32/theme_combo.c
View file @
13cd63af
...
...
@@ -45,7 +45,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(themingcombo);
#define EDIT_CONTROL_PADDING 1
/* paint text of combobox, needed for read-only drop downs. */
static
void
paint_text
(
HWND
hwnd
,
HDC
hdc
,
DWORD
dwStyle
,
COMBOBOXINFO
*
cbi
)
static
void
paint_text
(
HWND
hwnd
,
HDC
hdc
,
DWORD
dwStyle
,
const
COMBOBOXINFO
*
cbi
)
{
INT
id
,
size
=
0
;
LPWSTR
pText
=
NULL
;
...
...
dlls/comctl32/tooltips.c
View file @
13cd63af
...
...
@@ -435,7 +435,7 @@ TOOLTIPS_GetTipText (HWND hwnd, TOOLTIPS_INFO *infoPtr, INT nTool)
static
void
TOOLTIPS_CalcTipSize
(
HWND
hwnd
,
TOOLTIPS_INFO
*
infoPtr
,
LPSIZE
lpSize
)
TOOLTIPS_CalcTipSize
(
HWND
hwnd
,
const
TOOLTIPS_INFO
*
infoPtr
,
LPSIZE
lpSize
)
{
HDC
hdc
;
HFONT
hOldFont
;
...
...
@@ -816,7 +816,7 @@ TOOLTIPS_TrackShow (HWND hwnd, TOOLTIPS_INFO *infoPtr)
static
void
TOOLTIPS_TrackHide
(
HWND
hwnd
,
TOOLTIPS_INFO
*
infoPtr
)
TOOLTIPS_TrackHide
(
HWND
hwnd
,
const
TOOLTIPS_INFO
*
infoPtr
)
{
TTTOOL_INFO
*
toolPtr
;
NMHDR
hdr
;
...
...
@@ -840,7 +840,7 @@ TOOLTIPS_TrackHide (HWND hwnd, TOOLTIPS_INFO *infoPtr)
static
INT
TOOLTIPS_GetToolFromInfoA
(
TOOLTIPS_INFO
*
infoPtr
,
LPTTTOOLINFOA
lpToolInfo
)
TOOLTIPS_GetToolFromInfoA
(
const
TOOLTIPS_INFO
*
infoPtr
,
const
TTTOOLINFOA
*
lpToolInfo
)
{
TTTOOL_INFO
*
toolPtr
;
INT
nTool
;
...
...
@@ -867,7 +867,7 @@ TOOLTIPS_GetToolFromInfoA (TOOLTIPS_INFO *infoPtr, LPTTTOOLINFOA lpToolInfo)
static
INT
TOOLTIPS_GetToolFromInfoW
(
TOOLTIPS_INFO
*
infoPtr
,
LPTTTOOLINFOW
lpToolInfo
)
TOOLTIPS_GetToolFromInfoW
(
const
TOOLTIPS_INFO
*
infoPtr
,
const
TTTOOLINFOW
*
lpToolInfo
)
{
TTTOOL_INFO
*
toolPtr
;
INT
nTool
;
...
...
@@ -894,7 +894,7 @@ TOOLTIPS_GetToolFromInfoW (TOOLTIPS_INFO *infoPtr, LPTTTOOLINFOW lpToolInfo)
static
INT
TOOLTIPS_GetToolFromPoint
(
TOOLTIPS_INFO
*
infoPtr
,
HWND
hwnd
,
LPPOINT
lpPt
)
TOOLTIPS_GetToolFromPoint
(
const
TOOLTIPS_INFO
*
infoPtr
,
HWND
hwnd
,
const
POINT
*
lpPt
)
{
TTTOOL_INFO
*
toolPtr
;
INT
nTool
;
...
...
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