Applied patch [ 807060 ] warning free demos
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23668 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user