WaE: class has virtual functions, but destructor is not virtual

This commit is contained in:
Tor Lillqvist 2011-10-26 15:08:42 +03:00
parent 69746a5e96
commit 00677707d3

View file

@ -70,6 +70,7 @@ public:
BackgroundTheme(
const ::boost::shared_ptr<Theme>& rpTheme,
const ::std::vector<SharedButton>& rButtons);
virtual ~BackgroundTheme() { }
/** Set the preview bounding box, the maximal area in which to display
buttons. A call to this method triggers a call to Layout().
*/
@ -106,6 +107,7 @@ namespace {
RectangleBackgroundTheme(
const ::boost::shared_ptr<Theme>& rpTheme,
const ::std::vector<SharedButton>& rButtons);
virtual ~RectangleBackgroundTheme() { }
virtual BitmapEx CreateBackground (
const OutputDevice& rTemplateDevice,
const bool bIsButtonDown) const;
@ -127,6 +129,7 @@ namespace {
BitmapBackgroundTheme(
const ::boost::shared_ptr<Theme>& rpTheme,
const ::std::vector<SharedButton>& rButtons);
virtual ~BitmapBackgroundTheme() { }
virtual BitmapEx CreateBackground (
const OutputDevice& rTemplateDevice,
const bool bIsButtonDown) const;