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:
parent
342fae7768
commit
625f0afcff
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue