]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/textctrl.cpp
another (semi) gratuitous commit to test the mailer script.
[wxWidgets.git] / src / msw / textctrl.cpp
index 9d68d44fc6d5bbb305f8d3d962d264b0445a1d1b..0676f10f0d94a397c299c27738ff7c8575774839 100644 (file)
@@ -1313,6 +1313,10 @@ bool wxTextCtrl::SetStyle(long start, long end, const wxTextAttr& style)
     }
 
 #if wxUSE_RICHEDIT2
+#ifndef CFM_BACKCOLOR
+#define CFM_BACKCOLOR 0x04000000
+#endif
+
     if ( wxRichEditModule::GetLoadedVersion() > 1 && style.HasBackgroundColour() )
     {
         cf.dwMask |= CFM_BACKCOLOR;