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