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
This commit is contained in:
Vadim Zeitlin 2006-06-09 11:22:24 +00:00
parent 3304646d06
commit 7fdf414082

View File

@ -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;
}
}