]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/docview/docview.cpp
Added version test
[wxWidgets.git] / samples / docview / docview.cpp
index f25a6203e7332986b13d9bbae635acb044e4fb30..e68dd48d7c203b23a2a9680f82cfe26b9d3e6d71 100644 (file)
@@ -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;
 }