Browse Source

Fix bug #621740 - tooltips stay up in WIN32 when USE_TRACK_MOUSE is not

defined.


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

2
CHANGES

@ -1,5 +1,7 @@
CHANGES IN FLTK 1.1.1 CHANGES IN FLTK 1.1.1
- The WIN32 port needed to handle WM_MOUSELEAVE events
in order to avoid problems with tooltips.
- Fl_PNM_Image didn't set the "alloc" flag for the data, - Fl_PNM_Image didn't set the "alloc" flag for the data,
which could lead to a memory leak. which could lead to a memory leak.
- fl_filename_match() was inconsistently doing case- - fl_filename_match() was inconsistently doing case-

10
src/Fl_win32.cxx

@ -1,5 +1,5 @@
// //
// "$Id: Fl_win32.cxx,v 1.33.2.37.2.37 2002/07/01 20:14:08 easysw Exp $" // "$Id: Fl_win32.cxx,v 1.33.2.37.2.38 2002/10/11 13:46:56 easysw Exp $"
// //
// WIN32-specific code for the Fast Light Tool Kit (FLTK). // WIN32-specific code for the Fast Light Tool Kit (FLTK).
// //
@ -71,6 +71,10 @@
//#define USE_TRACK_MOUSE //#define USE_TRACK_MOUSE
#if !defined(__GNUC__)
# define USE_TRACK_MOUSE
#endif // !__GNUC__
// //
// WM_SYNCPAINT is an "undocumented" message, which is finally defined in // WM_SYNCPAINT is an "undocumented" message, which is finally defined in
@ -629,7 +633,7 @@ static LRESULT CALLBACK WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lPar
case WM_MOUSELEAVE: case WM_MOUSELEAVE:
Fl::belowmouse(0); Fl::belowmouse(0);
// Fl::handle(FL_LEAVE, window); if (!window->parent()) Fl::handle(FL_LEAVE, window);
break; break;
case WM_SETFOCUS: case WM_SETFOCUS:
@ -1179,5 +1183,5 @@ void Fl_Window::make_current() {
} }
// //
// End of "$Id: Fl_win32.cxx,v 1.33.2.37.2.37 2002/07/01 20:14:08 easysw Exp $". // End of "$Id: Fl_win32.cxx,v 1.33.2.37.2.38 2002/10/11 13:46:56 easysw Exp $".
// //

Loading…
Cancel
Save