I've made bibitemMaxWidth() and bibitemWidthest() static member functions of InsetBibKey and all is fine. I misunderstood PainterBase::rectText() etc. These are not and should not be const functions. class InsetBibKey: public InsetCommand { public: static int maxWidth(Painter &, LyXFont const &); static string widest(Painter &); } I'll submit all these things after 1.1.5 is out. Just keeping you informed. Angus
- insetcommand.h question Angus Leeming
- Re: insetcommand.h question Lars Gullik Bjønnes
- Re: insetcommand.h question Angus Leeming
- Re: insetcommand.h question Angus Leeming
- Re: insetcommand.h question Lars Gullik Bjønnes
- Re: insetcommand.h question Lars Gullik Bjønnes
- Re: insetcommand.h question Angus Leeming
- Re: insetcommand.h question Lars Gullik Bjønnes