From 7fdf4140828d6016e23c697fdb17697c94d92c70 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Fri, 9 Jun 2006 11:22:24 +0000 Subject: [PATCH] added the cast to wxFontMapperBase erroneously removed by the last change git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39647 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/fmapbase.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/fmapbase.cpp b/src/common/fmapbase.cpp index ebc2bd3666..ccf7de0844 100644 --- a/src/common/fmapbase.cpp +++ b/src/common/fmapbase.cpp @@ -325,7 +325,7 @@ void wxFontMapperBase::Reset() // we need a cast as wxFontMapper is not fully declared here and so the // compiler can't know that it derives from wxFontMapperBase (but // run-time behaviour will be correct because the dtor is virtual) - delete sm_instance; + delete (wxFontMapperBase *)sm_instance; sm_instance = NULL; } } -- 2.45.2