Fixed ExamplePanel::OnPaint for better wxWidget compliance