When using MSVC, wxScrolledCanvas could be instantiated multiple times when including wx/scrolwin.h directly and when including wx/grid.h, which declares a class deriving from wxScrolledCanvas, later. Fix this by defining a dummy class deriving from wxScrolledCanvas in the same header, as this is enough to convince MSVC to generate the definition of wxScrolledCanvas itself in the DLL instead of doing it inline. Closes #23774. Closes #23803. |
||
|---|---|---|
| .. | ||
| msvc/wx | ||
| wx | ||