# HG changeset patch # User bsmith@81767d24-ef19-dc11-ae90-00e081727c95 # Date 1671717963 0 # Node ID d301fed4bc2334074ccb7727f4c366b79a3c9a77 # Parent 99311a9091afde64fd3b5d5742c77e94baafed79 Fix compilation on pre-C11 compilers. diff -r 99311a9091af -r d301fed4bc23 dwtestoo.cpp --- a/dwtestoo.cpp Thu Dec 22 13:59:46 2022 +0000 +++ b/dwtestoo.cpp Thu Dec 22 14:06:03 2022 +0000 @@ -17,6 +17,7 @@ #ifndef DW_CPP11 int button_clicked() { + DW::App *app = DW::App::Init(); app->MessageBox("Button", DW_MB_OK | DW_MB_WARNING, "Clicked!"); return TRUE; }