View | Details | Raw Unified | Return to bug 5111
Collapse All | Expand All

(-)./Fl_win32.cxx.henrik (-7 / +5 lines)
Lines 983-990 static LRESULT CALLBACK WndProc(HWND hWn Link Here
983
983
984
  case WM_CLOSE: // user clicked close box
984
  case WM_CLOSE: // user clicked close box
985
    Fl::handle(FL_CLOSE, window);
985
    Fl::handle(FL_CLOSE, window);
986
    PostQuitMessage(0);
986
    break;
987
    return 0;
988
987
989
  case WM_SYNCPAINT :
988
  case WM_SYNCPAINT :
990
  case WM_NCPAINT :
989
  case WM_NCPAINT :
Lines 1367-1378 static LRESULT CALLBACK WndProc(HWND hWn Link Here
1367
    return 0;
1366
    return 0;
1368
1367
1369
  case WM_CHANGECBCHAIN:
1368
  case WM_CHANGECBCHAIN:
1370
    if ((hWnd == clipboard_wnd) &&
1369
    if ((hWnd == clipboard_wnd) && (next_clipboard_wnd == (HWND)wParam))
1371
        (next_clipboard_wnd == (HWND)wParam)) {
1372
      next_clipboard_wnd = (HWND)lParam;
1370
      next_clipboard_wnd = (HWND)lParam;
1373
      return 0;
1371
    else
1374
    }
1372
      SendMessage(next_clipboard_wnd, WM_CHANGECBCHAIN, wParam, lParam);
1375
    break;
1373
    return 0;
1376
1374
1377
  case WM_DRAWCLIPBOARD:
1375
  case WM_DRAWCLIPBOARD:
1378
    // When the clipboard moves between two FLTK windows,
1376
    // When the clipboard moves between two FLTK windows,

Return to bug 5111