X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e3e65dac0c4e7ad19e3c270caa1e0eea138e5d8d..e1ee62bd793bc1173ac36fd429a6f54a877b37f7:/samples/forty/pile.cpp?ds=sidebyside diff --git a/samples/forty/pile.cpp b/samples/forty/pile.cpp index 02d3a92205..d92c1d821d 100644 --- a/samples/forty/pile.cpp +++ b/samples/forty/pile.cpp @@ -76,10 +76,10 @@ Pile::Pile(int x, int y, int dx, int dy) void Pile::Redraw(wxDC& dc ) { wxWindow *frame = wxTheApp->GetTopWindow(); - wxWindow *canvas = NULL; + wxWindow *canvas = (wxWindow *) NULL; if (frame) { - wxNode *node = frame->GetChildren()->First(); + wxNode *node = frame->GetChildren().First(); if (node) canvas = (wxWindow*)node->Data(); }