From c10ce7bd268d6fad575e7c31b6d83366354568d7 Mon Sep 17 00:00:00 2001 From: david Date: Sat, 18 Jan 2003 15:57:51 +0000 Subject: [PATCH] Renamed GUIWidget to FGDialog. --- src/Main/fg_commands.cxx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/Main/fg_commands.cxx b/src/Main/fg_commands.cxx index 7320edb5e..2419da8d9 100644 --- a/src/Main/fg_commands.cxx +++ b/src/Main/fg_commands.cxx @@ -18,6 +18,7 @@ #include #include #include +#include #include #if defined(HAVE_PLIB_PSL) #include @@ -552,7 +553,7 @@ do_dialog_close (const SGPropertyNode * arg) { NewGUI * gui = (NewGUI *)globals->get_subsystem_mgr() ->get_group(FGSubsystemMgr::INIT)->get_subsystem("gui"); - GUIWidget * widget = gui->getCurrentWidget(); + FGDialog * widget = gui->getCurrentWidget(); if (widget != 0) { delete widget; gui->setCurrentWidget(0); @@ -573,7 +574,7 @@ do_dialog_update (const SGPropertyNode * arg) { NewGUI * gui = (NewGUI *)globals->get_subsystem_mgr() ->get_group(FGSubsystemMgr::INIT)->get_subsystem("gui"); - GUIWidget * widget = gui->getCurrentWidget(); + FGDialog * widget = gui->getCurrentWidget(); if (widget != 0) { if (arg->hasValue("object-name")) { gui->getCurrentWidget() @@ -598,7 +599,7 @@ do_dialog_apply (const SGPropertyNode * arg) { NewGUI * gui = (NewGUI *)globals->get_subsystem_mgr() ->get_group(FGSubsystemMgr::INIT)->get_subsystem("gui"); - GUIWidget * widget = gui->getCurrentWidget(); + FGDialog * widget = gui->getCurrentWidget(); if (widget != 0) { if (arg->hasValue("object-name")) { gui->getCurrentWidget() -- 2.39.5