Author: manolo
Date: 2013-01-09 01:03:47 -0800 (Wed, 09 Jan 2013)
New Revision: 9789
Log:
Fix STR#2915 where subwindow stayed hidden after hide() and then show().
Modified:
branches/branch-3.0/src/fltk3/cocoa.mm
Modified: branches/branch-3.0/src/fltk3/cocoa.mm
===================================================================
--- branches/branch-3.0/src/fltk3/cocoa.mm 2013-01-08 21:06:29 UTC (rev
9788)
+++ branches/branch-3.0/src/fltk3/cocoa.mm 2013-01-09 09:03:47 UTC (rev
9789)
@@ -2072,6 +2072,7 @@
x->subRegion = 0;
x->cursor = fl_default_cursor;
x->gc = 0; // stay 0 for Quickdraw; fill with CGContext
for Quartz
+ w->set_visible();
fltk3::Window *win = w->window();
Fl_X *xo = Fl_X::i(win);
if (xo) {
_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit