]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/forty/canvas.cpp
Added test for long long type. (Really trivial, see setup.h: SIZEOF_xxx)
[wxWidgets.git] / samples / forty / canvas.cpp
index 2ba1f15c5bf0c595bb2c51b515ed1d99d1abc57f..373e16942faff6c7320d202a58c0ae0906edccbb 100644 (file)
@@ -123,13 +123,13 @@ void FortyCanvas::OnDraw(wxDC& dc)
 /*
 Called when the main frame is closed
 */
-bool FortyCanvas::OnClose()
+bool FortyCanvas::OnCloseCanvas()
 {
        if (m_game->InPlay() &&
                wxMessageBox("Are you sure you want to\nabandon the current game?",
                        "Warning", wxYES_NO | wxICON_QUESTION) == wxNO)
        {
-               return FALSE;
+        return FALSE;
        }
        return TRUE;
 }