]> git.saurik.com Git - wxWidgets.git/blobdiff - demos/forty/canvas.cpp
Fixed compilation error.
[wxWidgets.git] / demos / forty / canvas.cpp
index d2be8edcf1c9a83617392f2b67d37db364f16d26..705e949612a971894c43ac598a35b4b0d4885466 100644 (file)
@@ -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();
+}