mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +00:00
[ACCESS][MAIN] Do not delete system stock object
This commit is contained in:
@@ -209,7 +209,6 @@ DisplayPageProc(HWND hwndDlg,
|
|||||||
HDC hDC = GetDC(hwndDlg);
|
HDC hDC = GetDC(hwndDlg);
|
||||||
HBRUSH hBrush = GetSysColorBrush(COLOR_BTNTEXT);
|
HBRUSH hBrush = GetSysColorBrush(COLOR_BTNTEXT);
|
||||||
FillRect(hDC, &pGlobalData->rcCaret, hBrush);
|
FillRect(hDC, &pGlobalData->rcCaret, hBrush);
|
||||||
DeleteObject(hBrush);
|
|
||||||
ReleaseDC(hwndDlg, hDC);
|
ReleaseDC(hwndDlg, hDC);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
@@ -229,7 +228,6 @@ DisplayPageProc(HWND hwndDlg,
|
|||||||
HDC hDC = GetDC(hwndDlg);
|
HDC hDC = GetDC(hwndDlg);
|
||||||
HBRUSH hBrush = GetSysColorBrush(COLOR_BTNTEXT);
|
HBRUSH hBrush = GetSysColorBrush(COLOR_BTNTEXT);
|
||||||
FillRect(hDC, &pGlobalData->rcCaret, hBrush);
|
FillRect(hDC, &pGlobalData->rcCaret, hBrush);
|
||||||
DeleteObject(hBrush);
|
|
||||||
ReleaseDC(hwndDlg, hDC);
|
ReleaseDC(hwndDlg, hDC);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|||||||
@@ -196,7 +196,6 @@ KeyboardSpeedProc(IN HWND hwndDlg,
|
|||||||
HDC hDC = GetDC(hwndDlg);
|
HDC hDC = GetDC(hwndDlg);
|
||||||
HBRUSH hBrush = GetSysColorBrush(COLOR_BTNTEXT);
|
HBRUSH hBrush = GetSysColorBrush(COLOR_BTNTEXT);
|
||||||
FillRect(hDC, &pSpeedData->rcCursor, hBrush);
|
FillRect(hDC, &pSpeedData->rcCursor, hBrush);
|
||||||
DeleteObject(hBrush);
|
|
||||||
ReleaseDC(hwndDlg, hDC);
|
ReleaseDC(hwndDlg, hDC);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user