X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f9562c6b2d91fe515ab71c5fea2d43d03e91f49e..84d1cd430f9f4cba81737a45cd40fdb7cbac4f7d:/include/wx/gtk/dc.h diff --git a/include/wx/gtk/dc.h b/include/wx/gtk/dc.h index ea4b5b3e88..9534317f42 100644 --- a/include/wx/gtk/dc.h +++ b/include/wx/gtk/dc.h @@ -70,7 +70,7 @@ class WXDLLIMPEXP_CORE wxDC : public wxDCBase { public: wxDC(); - ~wxDC() { } + virtual ~wxDC() { } #if wxUSE_PALETTE void SetColourMap( const wxPalette& palette ) { SetPalette(palette); };