Win32 - Map Hotkeys dialog - fixed bug where dialog would not close by the "X" or Alt-F4

This commit is contained in:
adelikat 2009-08-23 01:10:45 +00:00
parent 106e1ca031
commit b40947ad71
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,4 @@
22-august-2009 - adelikat - Win32 - Map Hotkeys Dialog - Fixed but where "X" and Alt+F4 would not close dialog
22-august-2009 - adelikat - Win32 - Added a Save Config File menu item
12-august-2009 - adelikat - Win32 - Added a menu item to toggle to New PPU
10-august-2009 - adelikat - fixed bug that caused new movies be created in /movie instead of /movies

View File

@ -693,7 +693,7 @@ BOOL CALLBACK MapInputDialogProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM
PopulateMappingDisplay(hwndDlg);
break;
}
switch(LOWORD(wParam))
{
case IDOK:
@ -714,7 +714,12 @@ BOOL CALLBACK MapInputDialogProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM
break;
}
break;
case WM_CLOSE:
case WM_DESTROY:
case WM_QUIT:
EndDialog(hwndDlg, 0);
break;
case WM_NOTIFY:
switch(LOWORD(wParam))