Fix link issue on MSVC (thanks @mroszko)

wxScrolledCanvas is not properly exported, so when we
add a wxGrid it has a chance of creating linker errors.
Including the wx/grid.h ensures that the linker does not
see two conflicting symbols between gal and the other
place where wxGrid is used.
This commit is contained in:
Jon Evans 2020-08-23 12:41:13 -04:00
parent 342fae7768
commit 625f0afcff
1 changed files with 1 additions and 0 deletions

View File

@ -30,6 +30,7 @@
#include <wx/window.h> #include <wx/window.h>
#include <wx/timer.h> #include <wx/timer.h>
#include <wx/grid.h> // needed for MSVC to see wxScrolledCanvas indirectly exported
#include <math/box2.h> #include <math/box2.h>
#include <math/vector2d.h> #include <math/vector2d.h>
#include <msgpanel.h> #include <msgpanel.h>