From 451f04b590f3455eb2400e4553d790fa4c8d4164 Mon Sep 17 00:00:00 2001 From: tamasmeszaros Date: Fri, 20 Dec 2019 20:18:23 +0100 Subject: [PATCH] Fix linux assertion --- sandboxes/opencsg/main.cpp | 4 +--- 1 file changed, 1 insertion(+), 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(); }); }