- MyCanvas(wxWindow *parent) :
- wxScrolledWindow(parent,wxID_ANY,wxDefaultPosition,wxDefaultSize,wxNO_FULL_REPAINT_ON_RESIZE) { }
+ MyCanvas(wxWindow *parent) : wxScrolledWindow(parent, wxID_ANY)
+ {
+ SetForegroundColour(*wxBLACK);
+ SetBackgroundColour(*wxWHITE);
+ SetFont(*wxNORMAL_FONT);
+ }