X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/af88eefff25f06bec4ccf69618d033b377bfd06f..0f9390c3c53db45c2fb01747e6cf747fdd980f33:/demos/forty/canvas.cpp diff --git a/demos/forty/canvas.cpp b/demos/forty/canvas.cpp index d2be8edcf1..705e949612 100644 --- a/demos/forty/canvas.cpp +++ b/demos/forty/canvas.cpp @@ -109,7 +109,7 @@ void FortyCanvas::OnDraw(wxDC& dc) m_game->DisplayScore(dc); m_playerDialog->Destroy(); m_playerDialog = 0; - Refresh(); + Refresh(false); } else { @@ -232,3 +232,8 @@ void FortyCanvas::Redo() dc.SetFont(* m_font); m_game->Redo(dc); } + +void FortyCanvas::LayoutGame() +{ + m_game->Layout(); +}