mirror of
https://github.com/fltk/fltk.git
synced 2026-05-20 22:36:19 +08:00
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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user