diff options
author | tamasmeszaros <meszaros.q@gmail.com> | 2019-12-20 22:18:23 +0300 |
---|---|---|
committer | tamasmeszaros <meszaros.q@gmail.com> | 2019-12-20 22:18:23 +0300 |
commit | 451f04b590f3455eb2400e4553d790fa4c8d4164 (patch) | |
tree | 8ea5e789749a4cc8c82f857ef6a7f472dacb21ee /sandboxes | |
parent | 3a185d7f574ec512c1f9e172b3bf90e2938a552c (diff) |
Fix linux assertion
Diffstat (limited to 'sandboxes')
-rw-r--r-- | sandboxes/opencsg/main.cpp | 4 |
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(); }); } |