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
a0a719e2
Commit
a0a719e2
authored
Feb 19, 1999
by
Ove Kaaven
Committed by
Alexandre Julliard
Feb 19, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix redraw problems for ChooseColor dialog.
parent
04c3e1d4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
commdlg.c
misc/commdlg.c
+8
-2
No files found.
misc/commdlg.c
View file @
a0a719e2
...
...
@@ -2649,7 +2649,12 @@ static LRESULT CC_WMCommand(HWND16 hDlg, WPARAM16 wParam, LPARAM lParam)
*/
static
LRESULT
CC_WMPaint
(
HWND16
hDlg
,
WPARAM16
wParam
,
LPARAM
lParam
)
{
HDC32
hdc
;
PAINTSTRUCT32
ps
;
struct
CCPRIVATE
*
lpp
=
(
struct
CCPRIVATE
*
)
GetWindowLong32A
(
hDlg
,
DWL_USER
);
hdc
=
BeginPaint32
(
hDlg
,
&
ps
);
EndPaint32
(
hDlg
,
&
ps
);
/* we have to paint dialog children except text and buttons */
CC_PaintPredefColorArray
(
hDlg
,
6
,
8
);
...
...
@@ -2667,7 +2672,7 @@ static LRESULT CC_WMPaint(HWND16 hDlg, WPARAM16 wParam, LPARAM lParam)
ValidateRect32
(
GetDlgItem32
(
hDlg
,
0x2be
),
NULL
);
ValidateRect32
(
GetDlgItem32
(
hDlg
,
0x2c5
),
NULL
);
/* hope we can remove it later -->FIXME */
return
0
;
return
TRUE
;
}
...
...
@@ -2758,7 +2763,8 @@ LRESULT WINAPI ColorDlgProc(HWND16 hDlg, UINT16 message,
return
TRUE
;
break
;
case
WM_PAINT
:
CC_WMPaint
(
hDlg
,
wParam
,
lParam
);
if
(
CC_WMPaint
(
hDlg
,
wParam
,
lParam
))
return
TRUE
;
break
;
case
WM_LBUTTONDBLCLK
:
if
(
CC_MouseCheckResultWindow
(
hDlg
,
lParam
))
...
...
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