mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 12:06:52 +00:00
don't ask everytime the user wants to close the window
svn path=/trunk/; revision=28142
This commit is contained in:
parent
d68373d641
commit
38acb524ac
2 changed files with 1 additions and 8 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue