From 8677b7eb0a4d5532bb45fa61e24ca8bf922469eb Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Fri, 6 May 2016 18:54:40 +0200 Subject: [PATCH] Move our own CFM_BACKCOLOR definition to src/msw/textctrl.cpp It is only needed/used in this source file, no need to have it in the global header. --- include/wx/msw/missing.h | 4 ---- src/msw/textctrl.cpp | 4 ++++ 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/include/wx/msw/missing.h b/include/wx/msw/missing.h index 44d5571655..af457c428f 100644 --- a/include/wx/msw/missing.h +++ b/include/wx/msw/missing.h @@ -220,10 +220,6 @@ #define TB_SETDISABLEDIMAGELIST (WM_USER + 54) #endif // !defined(TB_SETDISABLEDIMAGELIST) -#ifndef CFM_BACKCOLOR - #define CFM_BACKCOLOR 0x04000000 -#endif - #ifndef HANGUL_CHARSET #define HANGUL_CHARSET 129 #endif diff --git a/src/msw/textctrl.cpp b/src/msw/textctrl.cpp index 847c18921e..25b0c3d5ff 100644 --- a/src/msw/textctrl.cpp +++ b/src/msw/textctrl.cpp @@ -72,6 +72,10 @@ #include "wx/msw/missing.h" +#ifndef CFM_BACKCOLOR + #define CFM_BACKCOLOR 0x04000000 +#endif + #if wxUSE_DRAG_AND_DROP && wxUSE_RICHEDIT // dummy value used for m_dropTarget, different from any valid pointer value