mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 21:05:43 +00:00
- Rebar cursors must be destroyed with DestroyCursor and not with DeleteObject.
svn path=/trunk/; revision=11938
This commit is contained in:
parent
245bf5efa5
commit
ace6b4cce4
1 changed files with 4 additions and 4 deletions
|
@ -3786,10 +3786,10 @@ REBAR_Destroy (REBAR_INFO *infoPtr, WPARAM wParam, LPARAM lParam)
|
|||
infoPtr->bands = NULL;
|
||||
}
|
||||
|
||||
DeleteObject (infoPtr->hcurArrow);
|
||||
DeleteObject (infoPtr->hcurHorz);
|
||||
DeleteObject (infoPtr->hcurVert);
|
||||
DeleteObject (infoPtr->hcurDrag);
|
||||
DestroyCursor (infoPtr->hcurArrow);
|
||||
DestroyCursor (infoPtr->hcurHorz);
|
||||
DestroyCursor (infoPtr->hcurVert);
|
||||
DestroyCursor (infoPtr->hcurDrag);
|
||||
if(infoPtr->hDefaultFont) DeleteObject (infoPtr->hDefaultFont);
|
||||
SetWindowLongPtrW (infoPtr->hwndSelf, 0, 0);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue