Restore erroneously deleted lines.

diff --git a/windows/dialog.c b/windows/dialog.c
index 913eb85..97dc532 100644
--- a/windows/dialog.c
+++ b/windows/dialog.c
@@ -1157,6 +1157,13 @@
                             /* and bump it on to next */
                             SendMessageA( hwndDlg, WM_NEXTDLGCTL, 0, 0);
                         }
+                        else if (dlgCode & DLGC_BUTTON)
+                        {
+                            /* send command message as from the control */
+                            SendMessageA( hwndDlg, WM_COMMAND, 
+                                MAKEWPARAM( LOWORD(wndPtr->wIDmenu), BN_CLICKED ),
+                                (LPARAM)hwndControl );
+                        }
 
                         RetVal = TRUE;
 			WIN_ReleaseWndPtr(wndPtr);