Temporary modal dialogs moved to stack

This commit is contained in:
Simon Rozman 2016-05-24 23:18:45 +02:00
parent 5a26350153
commit 38f47db6d6

View File

@ -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();
}