#include <nana/gui.hpp>
#include <nana/gui/widgets/button.hpp>
void Click()
{
static int i;
using namespace nana;
fm.show();
}
int main()
{
using namespace nana;
btn.caption("Open a new form");
btn.events().click(Click);
fm.show();
#ifdef NANA_AUTOMATIC_GUI_TESTING
1, 2, [&btn]() {
click(btn); }
#endif
);
}