Fix redraw problem with Fl_File_Input (STR #958)

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4459 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Michael R Sweet 2005-07-28 22:56:00 +00:00
parent 0af617b641
commit 0a5b7239d4
2 changed files with 2 additions and 0 deletions

View File

@ -2,6 +2,7 @@ CHANGES IN FLTK 1.1.7
- Documentation fixes (STR #648, STR #692, STR #730, STR
#744, STR #745, STR #942)
- Fl_File_Input could draw in the wrong window (STR #958)
- WIN32: Internal WM_PAINT message now ignored (STR #831)
- Added Windows support for Fl_Window::xclass() (STR #848)
- Floating point input field allows characters from

View File

@ -238,6 +238,7 @@ Fl_File_Input::handle_button(int event) // I - Event
if (event == FL_RELEASE) pressed_ = -1;
else pressed_ = (short)i;
window()->make_current();
draw_buttons();
// Return immediately if the user is clicking on the last button or