- rightCanvas = new MyCanvas(splitter);
- rightCanvas->SetBackground(wxCYAN_BRUSH);
- rightCanvas->SetScrollbars(20, 20, 50, 50, 4, 4);
- rightCanvas->Show(FALSE);
+ rightWindow = new MyWindow(splitter);
+ rightWindow->SetScrollbars(20, 20, 50, 50);
+ rightWindow->Show(false);