X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f37c24e0782515bc3361571442b7aa570103eae5..1ce5dd35ebae68444e0faca73f087c63a8314a05:/demos/forty/game.cpp?ds=sidebyside diff --git a/demos/forty/game.cpp b/demos/forty/game.cpp index 9b9048f6de..9eed283867 100644 --- a/demos/forty/game.cpp +++ b/demos/forty/game.cpp @@ -193,8 +193,8 @@ void Game::DoMove(wxDC& dc, Pile* src, Pile* dest) if (frame) { - wxNode *node = frame->GetChildren().First(); - if (node) canvas = (wxWindow*)node->Data(); + wxNode *node = (wxNode *)frame->GetChildren().GetFirst(); + if (node) canvas = (wxWindow*)node->GetData(); } // This game is over