In TLStaticImageFactory::createWindow() a StaticImage is created instead of a TLStaticImage.
Old code was:
Code: Select all
Window* TLStaticImageFactory::createWindow(const String& name)
{
StaticImage* wnd = new StaticImage(d_type, name);
wnd->initialise();
return wnd;
}
So it should be :
Code: Select all
Window* TLStaticImageFactory::createWindow(const String& name)
{
TLStaticImage* wnd = new TLStaticImage(d_type, name);
wnd->initialise();
return wnd;
}
Again, too simple for a patch.