diff --git a/include/wx/msw/private/customdraw.h b/include/wx/msw/private/customdraw.h index 36bd009659..3d2a10f19e 100644 --- a/include/wx/msw/private/customdraw.h +++ b/include/wx/msw/private/customdraw.h @@ -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);