From fe1793f13b9a70eea9177a43826ce320c1a477ad Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Wed, 15 Jan 2014 14:02:57 +0000 Subject: Stepping back from r.10030: when you close any window it stops the program! Try with test/editor, opening several windows, and closing one. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10060 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_win32.cxx | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src') diff --git a/src/Fl_win32.cxx b/src/Fl_win32.cxx index ea4f5f390..ce480b5d7 100644 --- a/src/Fl_win32.cxx +++ b/src/Fl_win32.cxx @@ -36,7 +36,6 @@ #include #include #include -#include #ifdef __CYGWIN__ # include # include @@ -404,9 +403,6 @@ int fl_wait(double time_to_wait) { have_message = PeekMessageW(&fl_msg, NULL, 0, 0, PM_REMOVE); if (have_message > 0) { while (have_message != 0 && have_message != -1) { - // Let applications treat WM_QUIT identical to SIGTERM on *nix - if (fl_msg.message == WM_QUIT) - raise(SIGTERM); if (fl_msg.message == fl_wake_msg) { // Used for awaking wait() from another thread thread_message_ = (void*)fl_msg.wParam; -- cgit v1.2.3