From 6944612e56b8968b6d6f80a915aadd16b1f132ff Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Tue, 10 Jun 2014 14:21:26 +0000 Subject: We are required to pass along WM_CHANGECBCHAIN messages to the next window in order for the chain to properly update. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10187 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_win32.cxx | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'src') diff --git a/src/Fl_win32.cxx b/src/Fl_win32.cxx index 3aeba8ab0..e00a92e41 100644 --- a/src/Fl_win32.cxx +++ b/src/Fl_win32.cxx @@ -1343,12 +1343,11 @@ static LRESULT CALLBACK WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lPar return 0; case WM_CHANGECBCHAIN: - if ((hWnd == clipboard_wnd) && - (next_clipboard_wnd == (HWND)wParam)) { + if ((hWnd == clipboard_wnd) && (next_clipboard_wnd == (HWND)wParam)) next_clipboard_wnd = (HWND)lParam; - return 0; - } - break; + else + SendMessage(next_clipboard_wnd, WM_CHANGECBCHAIN, wParam, lParam); + return 0; case WM_DRAWCLIPBOARD: // When the clipboard moves between two FLTK windows, -- cgit v1.2.3