Browse Source

Update guiTextEditCtrl.cpp

Anis 9 years ago
parent
commit
c4590f6e3d
1 changed files with 2 additions and 2 deletions
  1. 2 2
      Engine/source/gui/controls/guiTextEditCtrl.cpp

+ 2 - 2
Engine/source/gui/controls/guiTextEditCtrl.cpp

@@ -1260,7 +1260,7 @@ void GuiTextEditCtrl::onRender(Point2I offset, const RectI &updateRect)
    if ( mProfile->mOpaque )
    if ( mProfile->mOpaque )
    {
    {
 	   if (!mTextValid)
 	   if (!mTextValid)
-		   GFX->getDrawUtil()->drawRectFill(ctrlRect, mProfile->mFillColorNA);
+		   GFX->getDrawUtil()->drawRectFill(ctrlRect, mProfile->mFillColorERR);
 	   else if (isFirstResponder())
 	   else if (isFirstResponder())
 		   GFX->getDrawUtil()->drawRectFill(ctrlRect, mProfile->mFillColorHL);
 		   GFX->getDrawUtil()->drawRectFill(ctrlRect, mProfile->mFillColorHL);
 	   else
 	   else
@@ -1272,7 +1272,7 @@ void GuiTextEditCtrl::onRender(Point2I offset, const RectI &updateRect)
    {
    {
 	   renderBorder(ctrlRect, mProfile);
 	   renderBorder(ctrlRect, mProfile);
 	   if (!mTextValid)
 	   if (!mTextValid)
-		   GFX->getDrawUtil()->drawRectFill(ctrlRect, mProfile->mFillColorNA);
+		   GFX->getDrawUtil()->drawRectFill(ctrlRect, mProfile->mFillColorERR);
    }
    }
 
 
    drawText( ctrlRect, isFirstResponder() );
    drawText( ctrlRect, isFirstResponder() );