Mercurial > dwindows
comparison dwtestoo.cpp @ 2883:d301fed4bc23
Fix compilation on pre-C11 compilers.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Thu, 22 Dec 2022 14:06:03 +0000 |
parents | 99311a9091af |
children | 4b075e64536c |
comparison
equal
deleted
inserted
replaced
2882:99311a9091af | 2883:d301fed4bc23 |
---|---|
15 }; | 15 }; |
16 | 16 |
17 #ifndef DW_CPP11 | 17 #ifndef DW_CPP11 |
18 int button_clicked() | 18 int button_clicked() |
19 { | 19 { |
20 DW::App *app = DW::App::Init(); | |
20 app->MessageBox("Button", DW_MB_OK | DW_MB_WARNING, "Clicked!"); | 21 app->MessageBox("Button", DW_MB_OK | DW_MB_WARNING, "Clicked!"); |
21 return TRUE; | 22 return TRUE; |
22 } | 23 } |
23 #endif | 24 #endif |
24 | 25 |