⚲
Project
General
Profile
Sign in
Register
Home
Projects
Help
Search
:
Wt
All Projects
Wt
Overview
Activity
Roadmap
Issues
Wiki
Forums
Download (388 Bytes)
Bug #11424
ยป dialog_closable.cpp
Roel Standaert, 03/10/2023 12:33 PM
#include
<Wt/WApplication.h>
#include
<Wt/WDialog.h>
#include
<memory>
int
main
(
int
argc
,
char
*
argv
[])
{
return
Wt
::
WRun
(
argc
,
argv
,
[](
const
Wt
::
WEnvironment
&
env
)
{
auto
app
=
std
::
make_unique
<
Wt
::
WApplication
>
(
env
);
auto
dialog
=
app
->
addChild
(
std
::
make_unique
<
Wt
::
WDialog
>
(
Wt
::
utf8
(
"DIALOG"
)));
dialog
->
setClosable
(
false
);
dialog
->
show
();
return
app
;
});
}
(1-1/1)
Loading...