Fixed OS X bug that would hide tooltips before they were shown (STR #1392)

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5362 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Matthias Melcher 2006-08-25 08:49:06 +00:00
parent 8220dc5592
commit 4fae32c85c
2 changed files with 12 additions and 10 deletions

View File

@ -1,5 +1,7 @@
CHANGES IN FLTK 1.1.8
- Fixed OS X bug that would hide tooltips before
they were shown (STR #1392)
- Fixed Fl_Tabs tooltip reappearing (STR #1324)
- Added a new demo game called "Block Attack!"
- Updated the Sudoku game to show a notice about Hard and

View File

@ -1906,17 +1906,17 @@ void Fl_X::make(Fl_Window* w)
if (w->size_range_set) w->size_range_();
//if (winclass != kHelpWindowClass) {
if (winclass != kHelpWindowClass) {
Fl_Tooltip::enter(0);
if (w->size_range_set) w->size_range_();
ShowWindow(x->xid);
if (fl_show_iconic) {
fl_show_iconic = 0;
CollapseWindow( x->xid, true ); // \todo Mac ; untested
} else {
w->set_visible();
}
//}
}
if (w->size_range_set) w->size_range_();
ShowWindow(x->xid);
if (fl_show_iconic) {
fl_show_iconic = 0;
CollapseWindow( x->xid, true ); // \todo Mac ; untested
} else {
w->set_visible();
}
Rect rect;
GetWindowBounds(x->xid, kWindowContentRgn, &rect);