Add virtual dtor to wxMSW CustomDraw class
This class is used polymorphically and needs a virtual dtor. See https://github.com/wxWidgets/wxWidgets/pull/276
This commit is contained in:
parent
1bcc5aa7e4
commit
82ed51d167
@ -29,6 +29,11 @@ public:
|
||||
{
|
||||
}
|
||||
|
||||
// Virtual dtor for the base class.
|
||||
virtual ~CustomDraw()
|
||||
{
|
||||
}
|
||||
|
||||
// Implementation of NM_CUSTOMDRAW handler, returns one of CDRF_XXX
|
||||
// constants, possibly CDRF_DODEFAULT if custom drawing is not necessary.
|
||||
LPARAM HandleCustomDraw(LPARAM lParam);
|
||||
|
Loading…
Reference in New Issue
Block a user