X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c67daf87774c71ae9f73af9969008af220e52a11..a3c1786def55bcc233f9606acb1aceee956d184f:/samples/forty/pile.cpp diff --git a/samples/forty/pile.cpp b/samples/forty/pile.cpp index 3e1de82146..d92c1d821d 100644 --- a/samples/forty/pile.cpp +++ b/samples/forty/pile.cpp @@ -79,7 +79,7 @@ void Pile::Redraw(wxDC& dc ) wxWindow *canvas = (wxWindow *) NULL; if (frame) { - wxNode *node = frame->GetChildren()->First(); + wxNode *node = frame->GetChildren().First(); if (node) canvas = (wxWindow*)node->Data(); }