summaryrefslogtreecommitdiffstats
path: root/Source/FLTKDialog/FLTKPropertyItemRow.cxx
diff options
context:
space:
mode:
authorLuis Ibanez <luis.ibanez@kitware.com>2001-06-21 13:45:46 (GMT)
committerLuis Ibanez <luis.ibanez@kitware.com>2001-06-21 13:45:46 (GMT)
commitcca4d0668612d26c4db7496552004972f5d94c05 (patch)
treed66b6a870eeca5b26bed09831bb54adc4bb7a96e /Source/FLTKDialog/FLTKPropertyItemRow.cxx
parent446ea3b97d2004f11d9002ec09872a796548e771 (diff)
downloadCMake-cca4d0668612d26c4db7496552004972f5d94c05.zip
CMake-cca4d0668612d26c4db7496552004972f5d94c05.tar.gz
CMake-cca4d0668612d26c4db7496552004972f5d94c05.tar.bz2
ENH: Clearing and redrawing the property list after a build to load the new cache.
Diffstat (limited to 'Source/FLTKDialog/FLTKPropertyItemRow.cxx')
-rw-r--r--Source/FLTKDialog/FLTKPropertyItemRow.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/FLTKDialog/FLTKPropertyItemRow.cxx b/Source/FLTKDialog/FLTKPropertyItemRow.cxx
index 078a7e5..e1d286a 100644
--- a/Source/FLTKDialog/FLTKPropertyItemRow.cxx
+++ b/Source/FLTKDialog/FLTKPropertyItemRow.cxx
@@ -189,8 +189,8 @@ NameButtonCallback( Fl_Widget * widget, void * data)
static Fl_Menu_Button * popupMenu = 0;
if( !popupMenu )
{
- int lastMousePositionX = Fl::event_x_root();
- int lastMousePositionY = Fl::event_y_root();
+ int lastMousePositionX = Fl::event_x();
+ int lastMousePositionY = Fl::event_y();
popupMenu = new Fl_Menu_Button(lastMousePositionX,
lastMousePositionY,100,200);
}