]> git.lyx.org Git - features.git/blobdiff - src/insets/insetinfo.C
Various fixes in insettext/tabular to make update work selective.
[features.git] / src / insets / insetinfo.C
index 9433bf70a21fde2c12836586c68052a8acd7603e..e57b91f0420f63e68027d3c22ec4f3b996b30676 100644 (file)
@@ -75,9 +75,10 @@ int InsetInfo::width(Painter &, LyXFont const & font) const
 }
 
 
-void InsetInfo::draw(Painter & pain, LyXFont const & f,
+void InsetInfo::draw(BufferView * bv, LyXFont const & f,
                     int baseline, float & x) const
 {
+       Painter & pain = bv->painter();
        LyXFont font(f);
        
        /* Info-insets are never LaTeX, so just correct the font */