diff --git a/src/msw/textctrl.cpp b/src/msw/textctrl.cpp index 66473a3e26..4245b58125 100644 --- a/src/msw/textctrl.cpp +++ b/src/msw/textctrl.cpp @@ -74,6 +74,11 @@ #include "wx/msw/missing.h" +// FIXME-VC6: This seems to be only missing from VC6 headers. +#ifndef SPI_GETCARETWIDTH + #define SPI_GETCARETWIDTH 0x2006 +#endif + #if wxUSE_DRAG_AND_DROP && wxUSE_RICHEDIT // dummy value used for m_dropTarget, different from any valid pointer value