diff options
| -rw-r--r-- | CHANGES | 2 | ||||
| -rw-r--r-- | src/Fl_win32.cxx | 10 |
2 files changed, 9 insertions, 3 deletions
@@ -1,5 +1,7 @@ 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, which could lead to a memory leak. - fl_filename_match() was inconsistently doing case- diff --git a/src/Fl_win32.cxx b/src/Fl_win32.cxx index 7a0d777e6..0579f0b1d 100644 --- a/src/Fl_win32.cxx +++ b/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). // @@ -71,6 +71,10 @@ //#define USE_TRACK_MOUSE +#if !defined(__GNUC__) +# define USE_TRACK_MOUSE +#endif // !__GNUC__ + // // 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: Fl::belowmouse(0); -// Fl::handle(FL_LEAVE, window); + if (!window->parent()) Fl::handle(FL_LEAVE, window); break; 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 $". // |
