Rev 119 | Rev 140 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 119 | Rev 124 | ||
|---|---|---|---|
| Line 48... | Line 48... | ||
| 48 | if (retval == 1) |
48 | if (retval == 1) |
| 49 | is_dialogbox_quit_validated = true; // if we simply want to quit, flag the quit dialog box as confirmed |
49 | is_dialogbox_quit_validated = true; // if we simply want to quit, flag the quit dialog box as confirmed |
| 50 | else if (retval == 2) |
50 | else if (retval == 2) |
| 51 | DialogBox_Save (true); // else if we want to save THEN quit, fire up the save dialog box first (and tell it to raise the quit confirmation flag after it returns) |
51 | DialogBox_Save (true); // else if we want to save THEN quit, fire up the save dialog box first (and tell it to raise the quit confirmation flag after it returns) |
| 52 | 52 | ||
| - | 53 | the_board.reevaluate = true; // refresh the GUI buttons if needed |
|
| 53 | return; // _endthread() implied |
54 | return; // _endthread() implied |
| 54 | } |
55 | } |
| 55 | 56 | ||
| 56 | 57 | ||
| 57 | static int CALLBACK DialogProc_ThisDialog (HWND hWnd, unsigned int message, WPARAM wParam, LPARAM lParam) |
58 | static int CALLBACK DialogProc_ThisDialog (HWND hWnd, unsigned int message, WPARAM wParam, LPARAM lParam) |