diff options
| author | Bill Spitzak <spitzak@gmail.com> | 1999-07-22 07:27:12 +0000 |
|---|---|---|
| committer | Bill Spitzak <spitzak@gmail.com> | 1999-07-22 07:27:12 +0000 |
| commit | 0bb590c832fb50a6bcf40aecbae2cad918ebee94 (patch) | |
| tree | bd7153ec8d97c9f0fd51207da8e5aed9623e52ba /src/Fl_win32.cxx | |
| parent | ae621ef7787392b1214a4a662a9f70e7c3a74794 (diff) | |
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
Diffstat (limited to 'src/Fl_win32.cxx')
| -rw-r--r-- | src/Fl_win32.cxx | 12 |
1 files changed, 10 insertions, 2 deletions
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 $". // |
