X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FGUI%2Flayout-test.cxx;h=d4bf53a567b9824b48dee6b16cce3833c3deef7f;hb=5cad5aa7da2476ca8323a61f81dea59676dca085;hp=bbfa45caf32c9d7d635b1ec89d9830740337a80d;hpb=12fc19080b8bae18b25c1cf6e5361852cc534a2f;p=flightgear.git diff --git a/src/GUI/layout-test.cxx b/src/GUI/layout-test.cxx index bbfa45caf..d4bf53a56 100644 --- a/src/GUI/layout-test.cxx +++ b/src/GUI/layout-test.cxx @@ -5,7 +5,7 @@ #include #include -#include SG_GL_H +#include #include #include #include @@ -42,7 +42,7 @@ int main(int argc, char** argv) } fclose(tmp); - pwInit(0, 0, 600, 400, 0, "Layout Test", true, 0); + pwInit(0, 0, 600, 400, 0, const_cast("Layout Test"), true, 0); pwSetCallbacks(keyboardCB, mouseButtonCB, mouseMotionCB, resizeCB, exitCB); @@ -57,5 +57,5 @@ int main(int argc, char** argv) int pw=0, ph=0; w.calcPrefSize(&pw, &ph); w.layout(0, 0, pw, ph); - writeProperties(cout, &props, true); + writeProperties(std::cout, &props, true); }