X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2baf6272084a09c8afa0759b6611d9c6835127fb..d40f860378b778081f076e192817ab4e6a7d4e13:/samples/docview/docview.cpp diff --git a/samples/docview/docview.cpp b/samples/docview/docview.cpp index f25a6203e7..e68dd48d7c 100644 --- a/samples/docview/docview.cpp +++ b/samples/docview/docview.cpp @@ -269,7 +269,7 @@ MyCanvas *MyFrame::CreateCanvas(wxView *view, wxFrame *parent) // Give it scrollbars canvas->SetScrollbars(20, 20, 50, 50); canvas->SetBackgroundColour(*wxWHITE); - canvas->Clear(); + canvas->ClearBackground(); return canvas; }