Fixed bug in MDI

Changed FortyThieves to 2.0 dialog logic
  Did I modify dialog.cpp as well?


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@383 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
1998-07-28 07:50:45 +00:00
parent d355d3fe69
commit 7b5408ea7d
4 changed files with 11 additions and 0 deletions

View File

@@ -99,6 +99,7 @@ void FortyCanvas::OnDraw(wxDC& dc)
if (m_player.Length() == 0 && !m_playerDialog)
{
m_playerDialog = new PlayerSelectionDialog(this, m_scoreFile);
m_playerDialog->ShowModal();
m_player = m_playerDialog->GetPlayersName();
if (m_player.Length() > 0)
{