-MySimpleCanvas::MySimpleCanvas( wxWindow *parent, wxWindowID id,
- const wxPoint &pos, const wxSize &size )
- : wxScrolledWindow( parent, id, pos, size, wxSUNKEN_BORDER, _T("test canvas") )
+MySimpleCanvas::MySimpleCanvas(wxWindow *parent)
+ : wxScrolledWindow(parent, wxID_ANY,
+ wxDefaultPosition,
+ wxDefaultSize,
+ wxSUNKEN_BORDER)