Browse Source

Use PM_REMOVE, not "1".

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2932 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
pull/168/head
Michael R Sweet 23 years ago
parent
commit
c25988a756
  1. 6
      src/Fl_win32.cxx

6
src/Fl_win32.cxx

@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
//
// "$Id: Fl_win32.cxx,v 1.33.2.37.2.42 2002/11/19 16:37:36 easysw Exp $"
// "$Id: Fl_win32.cxx,v 1.33.2.37.2.43 2003/01/28 13:56:06 easysw Exp $"
//
// WIN32-specific code for the Fast Light Tool Kit (FLTK).
//
@ -688,7 +688,7 @@ static LRESULT CALLBACK WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lPar @@ -688,7 +688,7 @@ static LRESULT CALLBACK WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lPar
// save the keysym until we figure out the characters:
Fl::e_keysym = ms2fltk(wParam,lParam&(1<<24));
// See if TranslateMessage turned it into a WM_*CHAR message:
if (PeekMessage(&fl_msg, hWnd, WM_CHAR, WM_SYSDEADCHAR, 1)) {
if (PeekMessage(&fl_msg, hWnd, WM_CHAR, WM_SYSDEADCHAR, PM_REMOVE)) {
uMsg = fl_msg.message;
wParam = fl_msg.wParam;
lParam = fl_msg.lParam;
@ -1192,5 +1192,5 @@ void Fl_Window::make_current() { @@ -1192,5 +1192,5 @@ void Fl_Window::make_current() {
}
//
// End of "$Id: Fl_win32.cxx,v 1.33.2.37.2.42 2002/11/19 16:37:36 easysw Exp $".
// End of "$Id: Fl_win32.cxx,v 1.33.2.37.2.43 2003/01/28 13:56:06 easysw Exp $".
//

Loading…
Cancel
Save