Add a virtual in the child as well.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14954 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Lars Gullik Bjønnes 2006-09-09 22:18:05 +00:00
parent edd81011ce
commit b5fccd53ac

View File

@ -42,7 +42,7 @@ public:
///
void setInsetName(std::string const & s) { name_ = s; }
///
std::string const & getInsetName() const { return name_; }
virtual std::string const & getInsetName() const { return name_; }
///
virtual void setBackgroundColor(LColor_color);
///