From 57771e16fd6f6c98ee653324c631170c1d60331f Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Tue, 8 Jan 2013 21:06:29 +0000 Subject: 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 --- src/Fl_cocoa.mm | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/Fl_cocoa.mm b/src/Fl_cocoa.mm index 89206779a..acf03ca6b 100644 --- a/src/Fl_cocoa.mm +++ b/src/Fl_cocoa.mm @@ -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) { -- cgit v1.2.3