Fix linux assertion

This commit is contained in:
tamasmeszaros 2019-12-20 20:18:23 +01:00
parent 3a185d7f57
commit 451f04b590

View File

@ -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();
});
}