From 0bb590c832fb50a6bcf40aecbae2cad918ebee94 Mon Sep 17 00:00:00 2001 From: Bill Spitzak Date: Thu, 22 Jul 1999 07:27:12 +0000 Subject: Pragma added around xlib.h to shut up the IRIX compiler warnings Fluid writes "class foo;" to the header and c file without prepending "extern" or "static". This patch also does this to "class foo bar;" which is wrong... Tabs draw very short labels. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@629 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_win32.cxx | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'src/Fl_win32.cxx') diff --git a/src/Fl_win32.cxx b/src/Fl_win32.cxx index 9b13fa008..042a7e53e 100644 --- a/src/Fl_win32.cxx +++ b/src/Fl_win32.cxx @@ -1,5 +1,5 @@ // -// "$Id: Fl_win32.cxx,v 1.33.2.12 1999/06/07 07:03:32 bill Exp $" +// "$Id: Fl_win32.cxx,v 1.33.2.13 1999/07/22 07:27:11 bill Exp $" // // WIN32-specific code for the Fast Light Tool Kit (FLTK). // @@ -47,6 +47,10 @@ # define WM_SYNCPAINT 0x0088 #endif /* !WM_SYNCPAINT */ +#ifndef WM_MOUSELEAVE +# define WM_MOUSE_LEAVE 0x02a3 +#endif + //////////////////////////////////////////////////////////////// // interface to poll/select call: @@ -434,6 +438,10 @@ static LRESULT CALLBACK WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lPar case WM_RBUTTONUP: mouse_event(window, 2, 3, wParam, lParam); return 0; case WM_MOUSEMOVE: mouse_event(window, 3, 0, wParam, lParam); return 0; + case WM_MOUSELEAVE: + Fl::handle(FL_LEAVE, window); + break; + case WM_SETFOCUS: Fl::handle(FL_FOCUS, window); break; @@ -941,5 +949,5 @@ void Fl_Window::make_current() { } // -// End of "$Id: Fl_win32.cxx,v 1.33.2.12 1999/06/07 07:03:32 bill Exp $". +// End of "$Id: Fl_win32.cxx,v 1.33.2.13 1999/07/22 07:27:11 bill Exp $". // -- cgit v1.2.3