X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e4b19d9b203f676f5dbf4e8e5260b7d3394b1a40..e27ce4e910f99ab572a609b7d560abf56440f81d:/samples/docview/docview.cpp?ds=inline diff --git a/samples/docview/docview.cpp b/samples/docview/docview.cpp index 53699369c1..681fa2ebc0 100644 --- a/samples/docview/docview.cpp +++ b/samples/docview/docview.cpp @@ -257,6 +257,8 @@ MyCanvas *MyFrame::CreateCanvas(wxView *view, wxFrame *parent) // Give it scrollbars canvas->SetScrollbars(20, 20, 50, 50); + canvas->SetBackgroundColour(*wxWHITE); + canvas->Clear(); return canvas; }