-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I'm trying to use the same class in the 2 links in WMenu.
I would instantiate the class only 1 time, but if I do that the WMenu (or WStackedWidget) will break. source: https://github.com/JohnRobson/Wt-Tests/blob/master/WStackedWidget/test.cpp Please, check: Lines 165-166 // Comment this 'IF', will work, but the first (Register or Login) clicked won't update anymore (in fact, if you pay attention, when you click on another link, it updates very fast, but always comes back to the old value). // Uncomment this 'IF', will work, but the first (Register or Login) clicked will broke the WStackedWidget (I guess). Lines 74-75 // Comment this 'clear', the result shows that the WMenu is working with one class and a static page. // The first link clicked never updated, but the second link clicked always update. Thank you, John -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJQmHtvAAoJEOjf7XlrDgBAG5oIAJB6hNRWy5F736iBeBQZUzjD r7N3bPMUFFRQbihWXU6W9kxwU/mD7dFls8HsIDCQjONK2KNZD6TlJprH07z3cRzn ITA1kKPunq9TKwbMzrE6+37M8abolgNT6+PwD13PE0Gp9vA8i1Tro156RzYyqFw4 VYFn1euVMj/NWfw4LjvLvvRvRG2srKN7MfO8zn/7TRu9Yvvqneq1VLTtS3fhBcmH 7ovUh6QQMd5qPsAo+12atT36n0e0kDwaKxEucuLhSAtIB/XlsQHIfvA1tcOQ9qYw 6+ZnlDHIafH6bSLe75bTRF3ssBNxkNFfGcqfxoWNdUziHmR9ZLBC1042XY4zAY8= =Q34G -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ LogMeIn Central: Instant, anywhere, Remote PC access and management. Stay in control, update software, and manage PCs from one command center Diagnose problems and improve visibility into emerging IT issues Automate, monitor and manage. Do more in less time with Central http://p.sf.net/sfu/logmein12331_d2d _______________________________________________ witty-interest mailing list witty-interest@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/witty-interest