Author: mike
Date: 2007-12-15 09:29:32 -0800 (Sat, 15 Dec 2007)
New Revision: 5997
Log:
Add set_visible() for GL windows on Mac OS X  (STR #1707)


Modified:
   branches/branch-1.1/CHANGES
   branches/branch-1.1/src/Fl_Gl_Window.cxx

Modified: branches/branch-1.1/CHANGES
===================================================================
--- branches/branch-1.1/CHANGES 2007-12-15 17:19:36 UTC (rev 5996)
+++ branches/branch-1.1/CHANGES 2007-12-15 17:29:32 UTC (rev 5997)
@@ -4,6 +4,8 @@
          STR #1457, STR #1458, STR #1460, STR #1481, STR #1578,
          STR #1639, STR #1645, STR #1644, STR #1792, STR #1793,
          STR #1742, STR #1777, STR #1794, STR #1827, STR #1843)
+       - Fl_Gl_Window::show() did not work reliably on Mac OS X
+         (STR #1707)
        - Added Fl_Group::clip_children() methods to support
          automatic clipping of child widget drawing (STR #1844)
        - Fl_Browser_ and friends now support FL_WHEN_ENTER_KEY

Modified: branches/branch-1.1/src/Fl_Gl_Window.cxx
===================================================================
--- branches/branch-1.1/src/Fl_Gl_Window.cxx    2007-12-15 17:19:36 UTC (rev 
5996)
+++ branches/branch-1.1/src/Fl_Gl_Window.cxx    2007-12-15 17:29:32 UTC (rev 
5997)
@@ -84,6 +84,10 @@
 #endif
   }
   Fl_Window::show();
+
+#ifdef __APPLE__
+  set_visible();
+#endif /* __APPLE__ */
 }
 
 void Fl_Gl_Window::invalidate() {

_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit

Reply via email to