Updates for 2.3.1; fixed syntax error in makefile.b32 but this probably

means that the 'version' fix for BC++ doesn't work (misapplied?)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10477 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2001-06-09 17:43:16 +00:00
parent 40a8907605
commit bc00e7155e
12 changed files with 86 additions and 26 deletions

View 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;