Tested with wxWidget 2.8 and the default canvas is drawn correclty, so the problem is in the usage of wxwidget 3.0.0.
Tested with wxWidget 2.8 and the default canvas is drawn correclty, so the problem is in the usage of wxwidget 3.0.0.