Author: manolo
Date: 2013-01-08 13:06:29 -0800 (Tue, 08 Jan 2013)
New Revision: 9788
Log:
Fix STR#2915 where subwindow stayed hidden after hide() and then show().

Modified:
   branches/branch-1.3/src/Fl_cocoa.mm

Modified: branches/branch-1.3/src/Fl_cocoa.mm
===================================================================
--- branches/branch-1.3/src/Fl_cocoa.mm 2013-01-07 16:16:45 UTC (rev 9787)
+++ branches/branch-1.3/src/Fl_cocoa.mm 2013-01-08 21:06:29 UTC (rev 9788)
@@ -2101,6 +2101,7 @@
     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) {

_______________________________________________
fltk-commit mailing list
fltk-commit@easysw.com
http://lists.easysw.com/mailman/listinfo/fltk-commit

Reply via email to