Author: manolo
Date: 2012-05-14 07:42:16 -0700 (Mon, 14 May 2012)
New Revision: 9489
Log:
Fixed printing of sub-windows for group-relative coordinates.

Modified:
   branches/branch-3.0/src/fltk3/PagedDevice.cxx

Modified: branches/branch-3.0/src/fltk3/PagedDevice.cxx
===================================================================
--- branches/branch-3.0/src/fltk3/PagedDevice.cxx       2012-05-14 12:02:13 UTC 
(rev 9488)
+++ branches/branch-3.0/src/fltk3/PagedDevice.cxx       2012-05-14 14:42:16 UTC 
(rev 9489)
@@ -95,7 +95,7 @@
     fltk3::Widget *c = g->child(i);
     if ( !c->visible() ) continue;
     if ( c->as_window() ) {
-      print_widget(c, c->x(), c->y());
+      print_widget(c, c->dx_window(), c->dy_window());
     }
     else traverse(c);
   }

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

Reply via email to