mirror of
https://github.com/reactos/reactos.git
synced 2024-07-23 12:48:01 +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
|
@ -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…
Reference in a new issue