comparison dwtestoo.cpp @ 2957:217ebbee034f

Win: Reenable -DAEROGLASS support, it was accidentally removed while testing on Win2k. Also update the readme and recommended compiler message in dwtestoo. Going to recommend GCC 5 since while 4.5+ should work it is extremely buggy.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Fri, 06 Jan 2023 19:55:55 +0000
parents afe9c20294ca
children 1dabe9c6c67b
comparison
equal deleted inserted replaced
2956:afe9c20294ca 2957:217ebbee034f
81 DW::App *app = DW::App::Init(argc, argv, "org.dbsoft.dwindows.dwtestoo"); 81 DW::App *app = DW::App::Init(argc, argv, "org.dbsoft.dwindows.dwtestoo");
82 82
83 app->MessageBox(APP_TITLE, DW_MB_OK | DW_MB_INFORMATION, 83 app->MessageBox(APP_TITLE, DW_MB_OK | DW_MB_INFORMATION,
84 "Warning: You are viewing the simplified version of this sample program.\n\n" \ 84 "Warning: You are viewing the simplified version of this sample program.\n\n" \
85 "This is because your compiler does not have lambda support.\n\n" \ 85 "This is because your compiler does not have lambda support.\n\n" \
86 "Please upgrade to Clang, GCC 4.5 or Visual Studio 2015 to see the full sample."); 86 "Please upgrade to Clang 3.3, GCC 5 or Visual Studio 2015 to see the full sample.");
87 87
88 DWTest *window = new DWTest(); 88 DWTest *window = new DWTest();
89 DW::Button *button = new DW::Button("Test window"); 89 DW::Button *button = new DW::Button("Test window");
90 90
91 window->PackStart(button, DW_SIZE_AUTO, DW_SIZE_AUTO, TRUE, TRUE, 0); 91 window->PackStart(button, DW_SIZE_AUTO, DW_SIZE_AUTO, TRUE, TRUE, 0);