Skip to content

Commit 6886a02

Browse files
committed
刚才没复制全...重新提交
1 parent 1e9ebe9 commit 6886a02

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

EasyWindow 4.0/EasyWindow.c

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4702,4 +4702,11 @@ EZWNDPROC EZStyle_WndCloseProc(EZWND ezWnd, int message, WPARAM wParam, LPARAM l
47024702

47034703
case EZWM_DESTROY:
47044704
pInfo = ezWnd->Extend;
4705-
DeleteObject(pInfo->hBrus
4705+
DeleteObject(pInfo->hBrush);
4706+
DeleteMemDC(pInfo->hMemDC);
4707+
free(ezWnd->Extend);
4708+
return 0;
4709+
}
4710+
4711+
4712+
}

0 commit comments

Comments
 (0)