diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 2003-06-12 01:36:18 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 2003-06-12 01:36:18 +0000 |
| commit | f438ffa0870d9a131166a5a3463859c4994d10fa (patch) | |
| tree | 96bbe0c7b54b68d4519c01d6dec16ad52b72ac67 /src/Fl_win32.cxx | |
| parent | dd6c9535ef382b15966ac1afe0976acc3b61b54a (diff) | |
Added documentation for all forms of Fl_Widget::damage() (STR
#61)
Fl_Double_Window now has a type() value of FL_DOUBLE_WINDOW, to
allow double-buffered windows to process redraws properly on
WIN32 (STR #46)
Added FL_DAMAGE_USER1 and FL_DAMAGE_USER2 damage bits for use by
widget developers (STR #57)
Fl_Help_View didn't support numeric character entities (STR #66)
Menu shortcuts didn't use the Mac key names under MacOS X (STR
#71)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3026 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_win32.cxx')
| -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 3116f78d4..e1de53279 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.45 2003/05/20 19:09:33 easysw Exp $" +// "$Id: Fl_win32.cxx,v 1.33.2.37.2.46 2003/06/12 01:36:18 easysw Exp $" // // WIN32-specific code for the Fast Light Tool Kit (FLTK). // @@ -613,7 +613,7 @@ static LRESULT CALLBACK WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lPar fl_save_pen(); i->flush(); fl_restore_pen(); - if (window->parent()) ValidateRgn(hWnd,0); + if (window->type() == FL_DOUBLE_WINDOW) ValidateRgn(hWnd,0); else ValidateRgn(hWnd,i->region); window->clear_damage(); } return 0; @@ -1193,5 +1193,5 @@ void Fl_Window::make_current() { } // -// End of "$Id: Fl_win32.cxx,v 1.33.2.37.2.45 2003/05/20 19:09:33 easysw Exp $". +// End of "$Id: Fl_win32.cxx,v 1.33.2.37.2.46 2003/06/12 01:36:18 easysw Exp $". // |
