]> git.saurik.com Git - wxWidgets.git/commitdiff
Define SPI_GETCARETWIDTH ourselves if it's not defined.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 18 Nov 2012 00:17:07 +0000 (00:17 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 18 Nov 2012 00:17:07 +0000 (00:17 +0000)
This fixes another compilation error for VC6.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72981 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/textctrl.cpp

index 66473a3e26fcaa872d4ded89285a0d1b40e1ee8e..4245b581258ad8b6941504df73b4fcb3061bdec1 100644 (file)
 
 #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