diff options
author | tamasmeszaros <meszaros.q@gmail.com> | 2020-01-08 11:39:48 +0300 |
---|---|---|
committer | tamasmeszaros <meszaros.q@gmail.com> | 2020-01-08 11:39:48 +0300 |
commit | 7d55df052fe99908664744bb9b1340b4c7b9d718 (patch) | |
tree | b99e73a2ba210656058d3bf14ddd6b7563781a76 /sandboxes | |
parent | 6b482be74e9a2be75a153133b478633400b60d39 (diff) |
repaint causes crash on linux
Diffstat (limited to 'sandboxes')
-rw-r--r-- | sandboxes/opencsg/main.cpp | 2 |
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(); }); } |