put back the const.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21257 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2007-10-29 10:47:41 +00:00
parent 0e87c91115
commit 5e418fb660

View File

@ -231,7 +231,7 @@ bool InsetCollapsable::setMouseHover(bool mouse_hover)
void InsetCollapsable::draw(PainterInfo & pi, int x, int y) const
{
autoOpen_ = pi.base.bv->cursor().isInside(this);
ColorCode old_color = pi.background_color;
ColorCode const old_color = pi.background_color;
pi.background_color = backgroundColor();
// Draw button first -- top, left or only