|
|
@ -1,5 +1,5 @@ |
|
|
|
//
|
|
|
|
//
|
|
|
|
// "$Id: Fl_win32.cxx,v 1.33.2.32 2001/04/13 17:30:21 spitzak Exp $"
|
|
|
|
// "$Id: Fl_win32.cxx,v 1.33.2.33 2001/04/22 16:54:23 spitzak Exp $"
|
|
|
|
//
|
|
|
|
//
|
|
|
|
// WIN32-specific code for the Fast Light Tool Kit (FLTK).
|
|
|
|
// WIN32-specific code for the Fast Light Tool Kit (FLTK).
|
|
|
|
//
|
|
|
|
//
|
|
|
@ -426,6 +426,9 @@ static LRESULT CALLBACK WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lPar |
|
|
|
// all applications.
|
|
|
|
// all applications.
|
|
|
|
static int cnt=0; |
|
|
|
static int cnt=0; |
|
|
|
if (uMsg == WM_SYNCPAINT) { |
|
|
|
if (uMsg == WM_SYNCPAINT) { |
|
|
|
|
|
|
|
MSG msg; |
|
|
|
|
|
|
|
if ( PeekMessage( &msg, hWnd, WM_PAINT, WM_PAINT, false )==0 ) |
|
|
|
|
|
|
|
InvalidateRect(hWnd,0,FALSE); |
|
|
|
if (cnt) { |
|
|
|
if (cnt) { |
|
|
|
InvalidateRect(fl_window,0,FALSE); |
|
|
|
InvalidateRect(fl_window,0,FALSE); |
|
|
|
cnt = 0; |
|
|
|
cnt = 0; |
|
|
@ -952,5 +955,5 @@ void Fl_Window::make_current() { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
//
|
|
|
|
//
|
|
|
|
// End of "$Id: Fl_win32.cxx,v 1.33.2.32 2001/04/13 17:30:21 spitzak Exp $".
|
|
|
|
// End of "$Id: Fl_win32.cxx,v 1.33.2.33 2001/04/22 16:54:23 spitzak Exp $".
|
|
|
|
//
|
|
|
|
//
|
|
|
|