#include <iostream>
#include <nana/gui.hpp>
#include <nana/gui/widgets/button.hpp>
{
std::cout<<
"When the window fm is clicked, this function is called. \n";
}
int main()
{
fm.
caption(
"Click this nana windows");
#ifdef NANA_AUTOMATIC_GUI_TESTING
1, 1, [&fm]() {
std::cout <<
"3 times automatic click. \n";
nana::click(fm); nana::click(fm); nana::click(fm);
}
#endif
);
}