]> git.saurik.com Git - wxWidgets.git/blobdiff - demos/forty/game.cpp
1. added stock buttons support
[wxWidgets.git] / demos / forty / game.cpp
index e03c98373ee5be5afc81a208c2e5867d8e80e4ad..4880c30eb0e10b49840d50986698bda33cc62e86 100644 (file)
@@ -193,7 +193,7 @@ void Game::DoMove(wxDC& dc, Pile* src, Pile* dest)
 
         if (frame)
         {
-            wxNode *node = (wxNode *)frame->GetChildren().GetFirst();
+            wxWindowList::compatibility_iterator node = frame->GetChildren().GetFirst();
             if (node) canvas = (wxWindow*)node->GetData();
         }