Set BackgroundStyle because wxWidgets wants us to.

This commit is contained in:
Joseph Lenox 2018-04-30 22:18:53 -05:00
parent 953977be4b
commit fb3250997b

View File

@ -26,6 +26,7 @@ Plate2D::Plate2D(wxWindow* parent, const wxSize& size, std::vector<Plater2DObjec
// Set the brushes
set_colors();
this->SetBackgroundStyle(wxBG_STYLE_PAINT);
}
void Plate2D::repaint(wxPaintEvent& e) {