diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 2002-10-28 15:15:24 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 2002-10-28 15:15:24 +0000 |
| commit | 0a5f303608ad6f662562c7f53a8e0d2e39fe60af (patch) | |
| tree | e545ad2a00a8f93e8e025946c5137a71fc28ac95 /src | |
| parent | 913561c63036ea747fce55b4c46655abe41d5ce3 (diff) | |
Possible fix for WIN32 redraw lockup (mainly with menus)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2695 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src')
| -rw-r--r-- | src/Fl_win32.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Fl_win32.cxx b/src/Fl_win32.cxx index 923adecc2..e6279f04f 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.39 2002/10/22 17:39:12 easysw Exp $" +// "$Id: Fl_win32.cxx,v 1.33.2.37.2.40 2002/10/28 15:15:24 easysw Exp $" // // WIN32-specific code for the Fast Light Tool Kit (FLTK). // @@ -598,7 +598,6 @@ static LRESULT CALLBACK WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lPar } else { i->region = R; } - ValidateRgn(hWnd,i->region); window->clear_damage(window->damage()|FL_DAMAGE_EXPOSE); // These next two statements should not be here, so that all update // is deferred until Fl::flush() is called during idle. However WIN32 @@ -608,6 +607,7 @@ static LRESULT CALLBACK WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lPar fl_save_pen(); i->flush(); fl_restore_pen(); + ValidateRgn(hWnd,i->region); window->clear_damage(); } return 0; @@ -1186,5 +1186,5 @@ void Fl_Window::make_current() { } // -// End of "$Id: Fl_win32.cxx,v 1.33.2.37.2.39 2002/10/22 17:39:12 easysw Exp $". +// End of "$Id: Fl_win32.cxx,v 1.33.2.37.2.40 2002/10/28 15:15:24 easysw Exp $". // |
