mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-08-01 05:11:59 +08:00
Set BackgroundStyle because wxWidgets wants us to.
This commit is contained in:
parent
953977be4b
commit
fb3250997b
@ -26,6 +26,7 @@ Plate2D::Plate2D(wxWindow* parent, const wxSize& size, std::vector<Plater2DObjec
|
|||||||
|
|
||||||
// Set the brushes
|
// Set the brushes
|
||||||
set_colors();
|
set_colors();
|
||||||
|
this->SetBackgroundStyle(wxBG_STYLE_PAINT);
|
||||||
}
|
}
|
||||||
|
|
||||||
void Plate2D::repaint(wxPaintEvent& e) {
|
void Plate2D::repaint(wxPaintEvent& e) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user