]> git.mxchange.org Git - flightgear.git/blobdiff - src/GUI/layout-props.cxx
Added two missing files from JSBSim.org that were missing in the last sync.
[flightgear.git] / src / GUI / layout-props.cxx
index 8533c17c8c06401e8a72942dd9d265b798d33574..09764096ca0f2cfc0ec26afda7f0e3ca074d4aec 100644 (file)
@@ -4,6 +4,7 @@
 
 #include <plib/pu.h>
 #include <simgear/props/props.hxx>
+#include <simgear/math/SGMath.hxx>
 
 #include "layout.hxx"
 
@@ -82,9 +83,9 @@ int LayoutWidget::getNum(const char* f)
     return _prop->getIntValue(f);
 }
 
-bool LayoutWidget::getBool(const char* f)
+bool LayoutWidget::getBool(const char* f, bool dflt)
 {
-    return _prop->getBoolValue(f);
+    return _prop->getBoolValue(f, dflt);
 }
 
 const char* LayoutWidget::getStr(const char* f)