]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/docview/view.cpp
(should) fix unix compilation...
[wxWidgets.git] / samples / docview / view.cpp
index dc01f53b0c4e02a7f1b5b5da46e6afc50f96a5a0..b2461fa086f738025a4c3a2752c0546c831b9e43 100644 (file)
@@ -127,7 +127,7 @@ bool DrawingView::OnClose(bool deleteWindow)
     
     // Clear the canvas in  case we're in single-window mode,
     // and the canvas stays.
-    canvas->Clear();
+    canvas->ClearBackground();
     canvas->view = (wxView *) NULL;
     canvas = (MyCanvas *) NULL;