Project

General

Profile

Bug #3911 ยป WCanvasPaintDevice.patch

Sandor Balogh, 03/22/2015 03:03 PM

View differences:

src/Wt/WCanvasPaintDevice
WCanvasPaintDevice(const WLength& width, const WLength& height,
WObject *parent = 0,
bool paintUpdate = false);
virtual ~WCanvasPaintDevice();
virtual WFlags<FeatureFlag> features() const;
virtual void setChanged(WFlags<ChangeFlag> flags);
-- a/src/Wt/WCanvasPaintDevice.C
++ b/src/Wt/WCanvasPaintDevice.C
......
}
}
WCanvasPaintDevice::~WCanvasPaintDevice()
{
if(fontMetrics_)
delete fontMetrics_;
}
WFlags<WPaintDevice::FeatureFlag> WCanvasPaintDevice::features() const
{
if (ServerSideFontMetrics::available())
    (1-1/1)