Module: wine Branch: master Commit: 08d945dadd99d74e0f6fb84e32eb53b8c84cb602 URL: http://source.winehq.org/git/wine.git/?a=commit;h=08d945dadd99d74e0f6fb84e32...
Author: Alex Villacís Lasso a_villacis@palosanto.com Date: Sat Nov 10 18:08:10 2007 -0500
user32: LB_DIR with standalone DDL_DRIVES implies DDL_EXCLUSIVE.
---
dlls/user32/dialog.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/dlls/user32/dialog.c b/dlls/user32/dialog.c index 40ac35b..c716969 100644 --- a/dlls/user32/dialog.c +++ b/dlls/user32/dialog.c @@ -1759,6 +1759,8 @@ static INT DIALOG_DlgDirListW( HWND hDlg, LPWSTR spec, INT idLBox,
if (idLBox && ((hwnd = GetDlgItem( hDlg, idLBox )) != 0)) { + if (attrib == DDL_DRIVES) attrib |= DDL_EXCLUSIVE; + SENDMSG( combo ? CB_RESETCONTENT : LB_RESETCONTENT, 0, 0 ); if (attrib & DDL_DIRECTORY) {