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