Creating Mainline Dialog

When developing a wxWidges application ocassionally a need arises that requires a single dialog to become the processing mainline.

[codesyntax lang=”cpp”]

    dlgDe2 dlg(this, wxID_ANY);
    dlg.ShowModal();
    dlg.Destroy();

    wxCommandEvent event;
    OnQuit(event);
    

[/codesyntax]

Mr. Arch Brooks, Software Engineer, Brooks Computing Systems, LLC authored this article.

Leave a Reply

Your email address will not be published. Required fields are marked *