Author: matt
Date: 2012-05-14 13:47:36 -0700 (Mon, 14 May 2012)
New Revision: 9494
Log:
Re-added menu fix (sigh)
Modified:
branches/branch-3.0/src/fltk3/Menu.cxx
Modified: branches/branch-3.0/src/fltk3/Menu.cxx
===================================================================
--- branches/branch-3.0/src/fltk3/Menu.cxx 2012-05-14 20:45:05 UTC (rev
9493)
+++ branches/branch-3.0/src/fltk3/Menu.cxx 2012-05-14 20:47:36 UTC (rev
9494)
@@ -824,8 +824,8 @@
button = pbutton;
if (pbutton && pbutton->window()) {
for (fltk3::Window* w = pbutton->window(); w; w = w->window()) {
- X += w->x();
- Y += w->y();
+ X += w->dx_window();
+ Y += w->dy_window();
}
} else {
X += fltk3::event_x_root()-fltk3::event_x();
_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit