X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/63e819f2981585279fe8a06629f69b7002eee9dc..25eb10d2e119b278be3ff51b3c96c297cc3ac6ef:/include/wx/event.h diff --git a/include/wx/event.h b/include/wx/event.h index 4de9cac013..43ed9f4e21 100644 --- a/include/wx/event.h +++ b/include/wx/event.h @@ -1185,7 +1185,7 @@ public: g_isPainting++; } - ~wxPaintEvent() + virtual ~wxPaintEvent() { g_isPainting--; }