mirror of
https://github.com/fltk/fltk.git
synced 2026-06-04 23:42:15 +08:00
Use PM_REMOVE, not "1".
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2932 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
+3
-3
@@ -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
|
||||
// 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() {
|
||||
}
|
||||
|
||||
//
|
||||
// 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 $".
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user