X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FGUI%2Flayout.hxx;h=e2dce3b6de1c3e031d4fc4c854297bd31c279912;hb=474789269b7656509f62339c17e62a55b6157d43;hp=924b4c27f1b8d678eab4e56206ff98bab1e9f6b2;hpb=e48967cb1de18922fb148f05fe56966af917688f;p=flightgear.git diff --git a/src/GUI/layout.hxx b/src/GUI/layout.hxx index 924b4c27f..e2dce3b6d 100644 --- a/src/GUI/layout.hxx +++ b/src/GUI/layout.hxx @@ -31,7 +31,7 @@ public: LayoutWidget getChild(int i); bool hasField(const char* f); int getNum(const char* f); - bool getBool(const char* f); + bool getBool(const char* f, bool dflt = false); const char* getStr(const char* f); void setNum(const char* f, int num);