Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/prusa3d/PrusaSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortamasmeszaros <meszaros.q@gmail.com>2019-12-20 22:18:23 +0300
committertamasmeszaros <meszaros.q@gmail.com>2019-12-20 22:18:23 +0300
commit451f04b590f3455eb2400e4553d790fa4c8d4164 (patch)
tree8ea5e789749a4cc8c82f857ef6a7f472dacb21ee /sandboxes
parent3a185d7f574ec512c1f9e172b3bf90e2938a552c (diff)
Fix linux assertion
Diffstat (limited to 'sandboxes')
-rw-r--r--sandboxes/opencsg/main.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/sandboxes/opencsg/main.cpp b/sandboxes/opencsg/main.cpp
index c1bda6b39..3922706e7 100644
--- a/sandboxes/opencsg/main.cpp
+++ b/sandboxes/opencsg/main.cpp
@@ -110,11 +110,9 @@ public:
m_display->repaint();
});
- Bind(wxEVT_SIZE, [this](wxSizeEvent &) {
+ Bind(wxEVT_SIZE, [this](wxSizeEvent &) {
const wxSize ClientSize = GetClientSize();
-
m_display->set_screen_size(ClientSize.x, ClientSize.y);
- m_display->repaint();
});
}