Hello!
How can I destroy a wx.MessageDialog after a given amount of time? I have tried EndModal without success.
Cheers!

Dani

You could use a separate thread to function as a sort of timer and simply call the .Destroy() function (correct me if I am wrong, can't remember the function name) after a given amount of time.

If you need help with threads or anything feel free to post back.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.