Project

General

Profile

Bug #1816 ยป test.cpp

Max Quatember, 04/05/2013 06:59 PM

 
namespace
{
class TestDiaTitle
: public Wt::WApplication
{
public:
Wt::WPushButton* button;
TestDiaTitle( const Wt::WEnvironment& env )
: Wt::WApplication( env )
{
button = new Wt::WPushButton( "click" );
root()->addWidget( button );
button->clicked().connect( [&](...)
{
Wt::WDialog dia;
dia.setWindowTitle( toUTF8( "&" ) );
dia.exec();
});
}
};
}
    (1-1/1)