mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-01 07:37:02 +00:00
winefile: Refresh the drives and files upon WM_DEVICECHANGE.
This commit is contained in:
parent
913df5b143
commit
04dad6218f
1 changed files with 4 additions and 0 deletions
|
@ -2521,6 +2521,10 @@ static LRESULT CALLBACK FrameWndProc(HWND hwnd, UINT nmsg, WPARAM wparam, LPARAM
|
|||
resize_frame(hwnd, LOWORD(lparam), HIWORD(lparam));
|
||||
break; /* do not pass message to DefFrameProc */
|
||||
|
||||
case WM_DEVICECHANGE:
|
||||
SendMessage(hwnd, WM_COMMAND, MAKELONG(ID_REFRESH,0), 0);
|
||||
break;
|
||||
|
||||
#ifndef _NO_EXTENSIONS
|
||||
case WM_GETMINMAXINFO: {
|
||||
LPMINMAXINFO lpmmi = (LPMINMAXINFO)lparam;
|
||||
|
|
Loading…
Reference in a new issue