Hi,
I am not able to reproduce this on any of my computers and browsers, but
some of my users claim that the pop-up created with the following code
sometimes causes the application to crash and then to reload.
Has anybody made any similar experiences? Is there anything I can do to
prevent such hang-ups?
Thanks for your input.


Wt::WDialog picture = new Wt::WDialog("Click on image to close the
pop-up window");
Wt::WImage img("/path/to/pic.jpg", picture->contents());
img.clicked().connect(picture, &Wt::WDialog::accept);
picture->exec();

Again, on all of my machines the dialog pops up as expected and closes
when I click on the image.


-- 
Peter Wood, University of Saskatchewan

------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
witty-interest mailing list
witty-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to