Fix STR#2915 where subwindow stayed hidden after hide() and then show().

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9788 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Manolo Gouy
2013-01-08 21:06:29 +00:00
parent 31e49fcf12
commit 57771e16fd
+1
View File
@@ -2101,6 +2101,7 @@ void Fl_X::make(Fl_Window* w)
x->subRegion = 0;
x->cursor = fl_default_cursor;
x->gc = 0; // stay 0 for Quickdraw; fill with CGContext for Quartz
w->set_visible();
Fl_Window *win = w->window();
Fl_X *xo = Fl_X::i(win);
if (xo) {