Mercurial > dwindows
comparison dwtestoo.cpp @ 2928:102b96d77f89
C++: Visual Studio 2013 lambda support also did not work, bump to 2015.
My Windows 8.1 virtual machine had 2012 and 2013 versions, but did not work.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Fri, 30 Dec 2022 04:15:27 +0000 |
parents | 03167ee949fd |
children | 2ab97b349958 |
comparison
equal
deleted
inserted
replaced
2927:03167ee949fd | 2928:102b96d77f89 |
---|---|
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 2012 to see the full sample."); | 82 "Please upgrade to Clang, GCC 4.5 or Visual Studio 2015 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); |