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
f0b27edf
Commit
f0b27edf
authored
Nov 07, 1999
by
Jim Aston
Committed by
Alexandre Julliard
Nov 07, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
When window class has CS_CLASSDC style we should not remove the DC
when destroying the window.
parent
bb558b7a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
6 deletions
+9
-6
dce.c
windows/dce.c
+9
-6
No files found.
windows/dce.c
View file @
f0b27edf
...
...
@@ -158,20 +158,23 @@ void DCE_FreeWindowDCE( WND* pWnd )
{
if
(
pDCE
->
hwndCurrent
==
pWnd
->
hwndSelf
)
{
if
(
pDCE
==
pWnd
->
dce
)
/* owned DCE */
if
(
pDCE
==
pWnd
->
dce
)
/* owned or Class DCE*/
{
if
(
pWnd
->
class
->
style
&
CS_OWNDC
)
/* owned DCE*/
{
pDCE
=
DCE_FreeDCE
(
pDCE
);
pWnd
->
dce
=
NULL
;
continue
;
}
else
else
if
(
pDCE
->
DCXflags
&
(
DCX_INTERSECTRGN
|
DCX_EXCLUDERGN
)
)
/* Class DCE*/
{
if
(
!
(
pDCE
->
DCXflags
&
DCX_CACHE
)
)
/* class DCE */
{
if
(
pDCE
->
DCXflags
&
(
DCX_INTERSECTRGN
|
DCX_EXCLUDERGN
)
)
DCE_DeleteClipRgn
(
pDCE
);
pDCE
->
hwndCurrent
=
0
;
}
else
if
(
pDCE
->
DCXflags
&
DCX_DCEBUSY
)
/* shared cache DCE */
}
else
{
if
(
pDCE
->
DCXflags
&
DCX_DCEBUSY
)
/* shared cache DCE */
{
ERR
(
"[%04x] GetDC() without ReleaseDC()!
\n
"
,
pWnd
->
hwndSelf
);
...
...
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