Esempio n. 1
0
void MyFrame::OnAbout(wxCommandEvent& WXUNUSED(event))
{
	AboutDialog about;

	if( about.ShowModal() == wxID_OK )
		about.Destroy();
}
Esempio n. 2
0
void MainFrame::OnAbout(wxCommandEvent &event)
{
	AboutDialog *dlg = new AboutDialog(this);
	dlg->ShowModal();
	dlg->Destroy();
}