⚲
Project
General
Profile
Sign in
Register
Home
Projects
Help
Search
:
Wt
All Projects
Wt
Overview
Activity
Roadmap
Issues
Wiki
Forums
Download (521 Bytes)
Bug #2161
ยป main.cpp
Velvet Jones
, 08/28/2013 01:57 PM
#include
<Wt/WApplication>
#include
<Wt/WContainerWidget>
#include
<Wt/WLineEdit>
using
namespace
Wt
;
class
Test
:
public
WApplication
{
public:
Test
(
const
Wt
::
WEnvironment
&
env
);
};
Test
::
Test
(
const
Wt
::
WEnvironment
&
env
)
:
Wt
::
WApplication
(
env
)
{
Wt
::
WLineEdit
*
le
=
new
Wt
::
WLineEdit
(
root
());
le
->
setFocus
();
}
WApplication
*
createApplication
(
const
Wt
::
WEnvironment
&
env
)
{
return
new
Test
(
env
);
}
int
main
(
int
argc
,
char
*
argv
[])
{
return
Wt
::
WRun
(
argc
,
argv
,
&
createApplication
);
}
(1-1/1)
Loading...