From 349f047032ccb783a2345b1c8ae63e2e2e7f3786 Mon Sep 17 00:00:00 2001 From: Bill Spitzak Date: Fri, 23 Apr 1999 06:55:53 +0000 Subject: Keypad should produce correct symbols on Brazilian (and any other) keyboard when NumLock is on. Also added some explanatory comments to the source code. Some pointers were not being turned off when widgets were deleted, this caused flwm to crash. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@553 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_win32.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/Fl_win32.cxx') diff --git a/src/Fl_win32.cxx b/src/Fl_win32.cxx index 4caad8d1c..cc0030192 100644 --- a/src/Fl_win32.cxx +++ b/src/Fl_win32.cxx @@ -1,5 +1,5 @@ // -// "$Id: Fl_win32.cxx,v 1.33.2.7 1999/04/18 19:17:03 mike Exp $" +// "$Id: Fl_win32.cxx,v 1.33.2.8 1999/04/23 06:55:53 bill Exp $" // // WIN32-specific code for the Fast Light Tool Kit (FLTK). // @@ -287,7 +287,7 @@ static int mouse_event(Fl_Window *window, int what, int button, static const struct {unsigned short vk, fltk, extended;} vktab[] = { {VK_BACK, FL_BackSpace}, {VK_TAB, FL_Tab}, - {VK_CLEAR, FL_KP+'5'}, + {VK_CLEAR, FL_KP+'5', 0xff0b/*XK_Clear*/}, {VK_RETURN, FL_Enter, FL_KP_Enter}, {VK_SHIFT, FL_Shift_L, FL_Shift_R}, {VK_CONTROL, FL_Control_L, FL_Control_R}, @@ -922,5 +922,5 @@ void Fl_Window::make_current() { } // -// End of "$Id: Fl_win32.cxx,v 1.33.2.7 1999/04/18 19:17:03 mike Exp $". +// End of "$Id: Fl_win32.cxx,v 1.33.2.8 1999/04/23 06:55:53 bill Exp $". // -- cgit v1.2.3