It's a modal dialog not a window. Close it correctly.

svn path=/trunk/; revision=20154
This commit is contained in:
Ged Murphy 2005-12-13 22:23:08 +00:00
parent 6688a4c6f3
commit 4f3cd62583

View file

@ -359,14 +359,10 @@ dlProc(HWND Dlg, UINT Msg, WPARAM wParam, LPARAM lParam)
return FALSE;
case WM_CLOSE:
DestroyWindow(Dlg);
EndDialog(Dlg, 0);
return TRUE;
case WM_DESTROY:
PostQuitMessage(0);
return TRUE;
default:
default:
return FALSE;
}
}