mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-15 02:37:51 -06:00
Fixed assert message after wxAutoBufferedPaintDC and warnings in 2DBed.cpp
This commit is contained in:
parent
4e4760bb82
commit
4bb771683d
2 changed files with 12 additions and 11 deletions
|
@ -28,6 +28,7 @@ public:
|
|||
Bed_2D(wxWindow* parent)
|
||||
{
|
||||
Create(parent, wxID_ANY, wxDefaultPosition, wxSize(250, -1), wxTAB_TRAVERSAL);
|
||||
SetBackgroundStyle(wxBG_STYLE_PAINT); // to avoid assert message after wxAutoBufferedPaintDC
|
||||
// m_user_drawn_background = $^O ne 'darwin';
|
||||
#ifdef __APPLE__
|
||||
m_user_drawn_background = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue