Temporary modal dialogs moved to stack
This commit is contained in:
parent
5a26350153
commit
38f47db6d6
@ -339,15 +339,15 @@ void wxZRColaFrame::OnHelpReqChar(wxCommandEvent& event)
|
|||||||
|
|
||||||
void wxZRColaFrame::OnHelpUpdate(wxCommandEvent& event)
|
void wxZRColaFrame::OnHelpUpdate(wxCommandEvent& event)
|
||||||
{
|
{
|
||||||
wxZRColaUpdater *dlg = new wxZRColaUpdater(this);
|
wxZRColaUpdater dlg(this);
|
||||||
dlg->ShowModal();
|
dlg.ShowModal();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void wxZRColaFrame::OnHelpAbout(wxCommandEvent& event)
|
void wxZRColaFrame::OnHelpAbout(wxCommandEvent& event)
|
||||||
{
|
{
|
||||||
wxZRColaAbout *dlg = new wxZRColaAbout(this);
|
wxZRColaAbout dlg(this);
|
||||||
dlg->ShowModal();
|
dlg.ShowModal();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user