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

github.com/supermerill/SuperSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortamasmeszaros <meszaros.q@gmail.com>2020-01-08 11:39:48 +0300
committertamasmeszaros <meszaros.q@gmail.com>2020-01-08 11:39:48 +0300
commit7d55df052fe99908664744bb9b1340b4c7b9d718 (patch)
treeb99e73a2ba210656058d3bf14ddd6b7563781a76 /sandboxes
parent6b482be74e9a2be75a153133b478633400b60d39 (diff)
repaint causes crash on linux
Diffstat (limited to 'sandboxes')
-rw-r--r--sandboxes/opencsg/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sandboxes/opencsg/main.cpp b/sandboxes/opencsg/main.cpp
index 3922706e7..82efb8ada 100644
--- a/sandboxes/opencsg/main.cpp
+++ b/sandboxes/opencsg/main.cpp
@@ -107,12 +107,12 @@ public:
const wxSize ClientSize = GetClientSize();
m_display->set_screen_size(ClientSize.x, ClientSize.y);
- m_display->repaint();
});
Bind(wxEVT_SIZE, [this](wxSizeEvent &) {
const wxSize ClientSize = GetClientSize();
m_display->set_screen_size(ClientSize.x, ClientSize.y);
+ m_display->repaint();
});
}