Some SystemDraw fixes, fixed another reason for key lag in theide

git-svn-id: svn://ultimatepp.org/upp/trunk@1160 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2009-05-12 07:43:36 +00:00
parent 6118f68704
commit dfe15080d7
11 changed files with 30 additions and 12 deletions

View file

@ -54,7 +54,7 @@ FormulaCtrl::FormulaCtrl()
void FormulaCtrl::Paint(Draw& draw)
{
RefCon<Formula> form = ParseFormula(text, font, color);
draw.DrawRect(draw.GetClip(), SWhite);
draw.DrawRect(GetSize(), SWhite);
if(!!form) {
form = new FormulaBox(form, LtBlue, FormulaBox::THICK);
Size client = GetSize();