Rev 1 | Rev 140 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1 | Rev 124 | ||
---|---|---|---|
Line 68... | Line 68... | ||
68 | // display the dialog box |
68 | // display the dialog box |
69 | promotion_type = DialogBox (hAppInstance, MAKEINTRESOURCE (THIS_DIALOG), hMainWnd, DialogProc_ThisDialog); |
69 | promotion_type = DialogBox (hAppInstance, MAKEINTRESOURCE (THIS_DIALOG), hMainWnd, DialogProc_ThisDialog); |
70 | if (promotion_type > 0) |
70 | if (promotion_type > 0) |
71 | is_dialogbox_pawnpromotion_validated = true; |
71 | is_dialogbox_pawnpromotion_validated = true; |
72 | 72 | ||
- | 73 | the_board.reevaluate = true; // refresh the GUI buttons if needed |
|
73 | return; // _endthread() implied |
74 | return; // _endthread() implied |
74 | } |
75 | } |
75 | 76 | ||
76 | 77 | ||
77 | static int CALLBACK DialogProc_ThisDialog (HWND hWnd, unsigned int message, WPARAM wParam, LPARAM lParam) |
78 | static int CALLBACK DialogProc_ThisDialog (HWND hWnd, unsigned int message, WPARAM wParam, LPARAM lParam) |