From: Vadim Zeitlin Date: Sun, 18 Nov 2012 00:17:07 +0000 (+0000) Subject: Define SPI_GETCARETWIDTH ourselves if it's not defined. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/c10361ef2e6485e3e2939680e81c183bace8a94f Define SPI_GETCARETWIDTH ourselves if it's not defined. This fixes another compilation error for VC6. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72981 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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