summaryrefslogtreecommitdiff
path: root/src/wx/wx_ptr.h
AgeCommit message (Collapse)Author
2025-02-25Fix misunderstanding of wxDialog lifetime handling.Carl Hetherington
Broken by d0308d53dd9f4d036d8c5fe8023920fcdfd43f39 wxDialog can be stack allocated if opened with ShowModal(), but not with Show(). Go back to wx_ptr for those that are opened with Show().
2025-02-09Remove unnecessary wx_ptrCarl Hetherington
It was only ever used for wxDialog subclasses, which can be stack-allocated.
2023-01-16Make reset() safer if the new throws.Carl Hetherington
2023-01-15Use wx_ptr for the splash screen.Carl Hetherington
2023-01-15Fix reset() to use rvalue references.Carl Hetherington
2023-01-14Add reset() to wx_ptr and allow it to be null.Carl Hetherington
2023-01-14Add wx_ptr and use it instead of ScopeGuard in a lot of places.Carl Hetherington