diff options
| author | Pierre Ossman <ossman@cendio.se> | 2014-06-10 14:21:26 +0000 |
|---|---|---|
| committer | Pierre Ossman <ossman@cendio.se> | 2014-06-10 14:21:26 +0000 |
| commit | 6944612e56b8968b6d6f80a915aadd16b1f132ff (patch) | |
| tree | 5b6e18fc1ebba9c2d267779f303fe5145707d61e /src | |
| parent | baebff2227400ef54a92638d297fc0c23a4bd521 (diff) | |
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
Diffstat (limited to 'src')
| -rw-r--r-- | src/Fl_win32.cxx | 9 |
1 files changed, 4 insertions, 5 deletions
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, |
