comparison dwtestoo.cpp @ 2927:03167ee949fd

C++: Bump the required compiler version to Visual Studio 2012. 2010's lambda support is too immature to be usable... 2015 worked. I don't have 2012 or 2013 installed to test, might need to be 2015.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Fri, 30 Dec 2022 03:29:35 +0000
parents 248e32f744f0
children 102b96d77f89
comparison
equal deleted inserted replaced
2926:5b584c5ddc96 2927:03167ee949fd
77 DW::App *app = DW::App::Init(argc, argv, "org.dbsoft.dwindows.dwtestoo"); 77 DW::App *app = DW::App::Init(argc, argv, "org.dbsoft.dwindows.dwtestoo");
78 78
79 app->MessageBox(APP_TITLE, DW_MB_OK | DW_MB_INFORMATION, 79 app->MessageBox(APP_TITLE, DW_MB_OK | DW_MB_INFORMATION,
80 "Warning: You are viewing the simplified version of this sample program.\n\n" \ 80 "Warning: You are viewing the simplified version of this sample program.\n\n" \
81 "This is because your compiler does not have lambda support.\n\n" \ 81 "This is because your compiler does not have lambda support.\n\n" \
82 "Please upgrade to Clang, GCC 4.5 or Visual Studio 2010 to see the full sample."); 82 "Please upgrade to Clang, GCC 4.5 or Visual Studio 2012 to see the full sample.");
83 83
84 DWTest *window = new DWTest(); 84 DWTest *window = new DWTest();
85 DW::Button *button = new DW::Button("Test window"); 85 DW::Button *button = new DW::Button("Test window");
86 86
87 window->PackStart(button, DW_SIZE_AUTO, DW_SIZE_AUTO, TRUE, TRUE, 0); 87 window->PackStart(button, DW_SIZE_AUTO, DW_SIZE_AUTO, TRUE, TRUE, 0);