summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2013-01-08 21:06:29 +0000
committerManolo Gouy <Manolo>2013-01-08 21:06:29 +0000
commit57771e16fd6f6c98ee653324c631170c1d60331f (patch)
tree7d7905963e66e8cff68e764031c07bbeecbf4e65 /src
parent31e49fcf129e1f5c387869bcc0e482e695010598 (diff)
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
Diffstat (limited to 'src')
-rw-r--r--src/Fl_cocoa.mm1
1 files changed, 1 insertions, 0 deletions
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) {