bring back comment
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5483 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
ae3e2cff89
commit
a2c29990ec
1 changed files with 2 additions and 0 deletions
|
@ -171,6 +171,8 @@ BOOL CALLBACK DialogProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
|
||||||
// Draw the focus rect if needed
|
// Draw the focus rect if needed
|
||||||
if (((lpdis->itemState & ODS_FOCUS) && (lpdis->itemAction & ODA_DRAWENTIRE)) || (lpdis->itemAction & ODA_FOCUS))
|
if (((lpdis->itemState & ODS_FOCUS) && (lpdis->itemAction & ODA_DRAWENTIRE)) || (lpdis->itemAction & ODA_FOCUS))
|
||||||
{
|
{
|
||||||
|
// NB: when not in DRAWENTIRE mode, this will actually toggle the focus
|
||||||
|
// rectangle since it's drawn in a XOR way
|
||||||
if (!hideFocus)
|
if (!hideFocus)
|
||||||
DrawFocusRect(lpdis->hDC, &rc);
|
DrawFocusRect(lpdis->hDC, &rc);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue