From 38f47db6d690073376747acdcc9441bdb6acf4d3 Mon Sep 17 00:00:00 2001 From: Simon Rozman Date: Tue, 24 May 2016 23:18:45 +0200 Subject: [PATCH] Temporary modal dialogs moved to stack --- ZRCola/zrcolafrm.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ZRCola/zrcolafrm.cpp b/ZRCola/zrcolafrm.cpp index 067f274..35000fc 100644 --- a/ZRCola/zrcolafrm.cpp +++ b/ZRCola/zrcolafrm.cpp @@ -339,15 +339,15 @@ void wxZRColaFrame::OnHelpReqChar(wxCommandEvent& event) void wxZRColaFrame::OnHelpUpdate(wxCommandEvent& event) { - wxZRColaUpdater *dlg = new wxZRColaUpdater(this); - dlg->ShowModal(); + wxZRColaUpdater dlg(this); + dlg.ShowModal(); } void wxZRColaFrame::OnHelpAbout(wxCommandEvent& event) { - wxZRColaAbout *dlg = new wxZRColaAbout(this); - dlg->ShowModal(); + wxZRColaAbout dlg(this); + dlg.ShowModal(); }