don't ask everytime the user wants to close the window

svn path=/trunk/; revision=28142
This commit is contained in:
Ged Murphy 2007-08-03 17:25:22 +00:00
parent d68373d641
commit 38acb524ac
2 changed files with 1 additions and 8 deletions

View file

@ -30,7 +30,6 @@ CardRegion::CardRegion(CardWindow &parent, int Id, bool visible, int x, int y, i
fVisible = visible;
nThreedCount = 1;
nBackCardIdx = 53;
Update(); //Update this stack's size+card count

View file

@ -493,13 +493,7 @@ LRESULT CALLBACK WndProc (HWND hwnd, UINT iMsg, WPARAM wParam, LPARAM lParam)
return 0;
case WM_CLOSE:
ret = MessageBox(hwnd, MsgQuit, szAppName, MB_OKCANCEL|MB_ICONQUESTION);
if(ret == IDOK)
{
WinHelp(hwnd, szHelpPath, HELP_QUIT, 0);
DestroyWindow(hwnd);
}
DestroyWindow(hwnd);
return 0;
}