#endif
#if !wxUSE_DOC_VIEW_ARCHITECTURE
-#error You must set wxUSE_DOC_VIEW_ARCHITECTURE to 1 in wx_setup.h!
+#error You must set wxUSE_DOC_VIEW_ARCHITECTURE to 1 in setup.h!
#endif
#include "wx/docview.h"
// Give it scrollbars
canvas->SetScrollbars(20, 20, 50, 50);
+ canvas->SetBackgroundColour(*wxWHITE);
+ canvas->Clear();
return canvas;
}