I would use WDialog::titleBar() and add an icon to it with a clicked() handler that closes the dialog.
BR, Wim. 2011/9/2 Antonio Mancina <[email protected]>: > Hi all, > > I'm facing this little problem and I don't want to enforce ugly > hacks if there exists a more official way to do it. > > In the widget gallery examples, I saw that the Close Window button > is present in the dialogs from the Ext package. > > How to do that in standard dialogs? > > Thanks in advance, > -- > Antonio > > ------------------------------------------------------------------------------ > Special Offer -- Download ArcSight Logger for FREE! > Finally, a world-class log management solution at an even better > price-free! And you'll get a free "Love Thy Logs" t-shirt when you > download Logger. Secure your free ArcSight Logger TODAY! > http://p.sf.net/sfu/arcsisghtdev2dev > _______________________________________________ > witty-interest mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/witty-interest > ------------------------------------------------------------------------------ Special Offer -- Download ArcSight Logger for FREE! Finally, a world-class log management solution at an even better price-free! And you'll get a free "Love Thy Logs" t-shirt when you download Logger. Secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsisghtdev2dev _______________________________________________ witty-interest mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/witty-interest
