Exemple #1
0
void CTrayApp::OnAppAbout()
{
  //avoid bringing up two versions of the dialog
  if (m_pCurrentAboutDlg)
  {
    m_pCurrentAboutDlg->SetForegroundWindow();
    return;
  }

  //Show the window
	CDialog aboutdlg(IDD_ABOUTBOX);
  m_pCurrentAboutDlg = &aboutdlg;
  aboutdlg.DoModal();
  m_pCurrentAboutDlg = NULL;
}
Exemple #2
0
void QuenchFrame::OnAbout(wxCommandEvent& event)
{
	AboutDlg aboutdlg(this);
	aboutdlg.ShowModal();
}