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:
parent
3304646d06
commit
7fdf414082
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user