wxPaintDC dc(this);
dc.SetBackground(*wxWHITE_BRUSH);
dc.Clear();
默认情况下,手动绘制都需要清除背景颜色
清除背景
原文:http://fengyuzaitu.blog.51cto.com/5218690/1887278