diff options
| author | Matthias Melcher <fltk@matthiasm.com> | 2005-07-23 12:21:58 +0000 |
|---|---|---|
| committer | Matthias Melcher <fltk@matthiasm.com> | 2005-07-23 12:21:58 +0000 |
| commit | 5226d5aa7e12dc8a05ea49a64caa4c2415752515 (patch) | |
| tree | 7a1d2d542fda8e2b4b8a24e59f5050f7940c7d1d /src/Fl_Tabs.cxx | |
| parent | a84f6826475f491045d79198db94d2efb7ad8cee (diff) | |
STR #602
OpenGL Windows inside Tabs that were inside of tabs were not drawn correctly. This was due to the fact that a first 'show' on a Tabs widget would show *all* groups inside the tab (unless the user called 'value(...)' on it first). This was only visible on OS X, because subwindow clipping would wrongfully clip even hidden subwindows.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4448 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_Tabs.cxx')
| -rw-r--r-- | src/Fl_Tabs.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Fl_Tabs.cxx b/src/Fl_Tabs.cxx index 1669ed947..59c06b4d5 100644 --- a/src/Fl_Tabs.cxx +++ b/src/Fl_Tabs.cxx @@ -187,6 +187,8 @@ int Fl_Tabs::handle(int event) { default: break; } + case FL_SHOW: + value(); // update visibilities and fall through default: return Fl_Group::handle(event); |
