override DoGetTextExtent instead of redefining GetTextExtent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46102 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -209,10 +209,10 @@ wxMetafileDC::~wxMetafileDC()
|
||||
m_hDC = 0;
|
||||
}
|
||||
|
||||
void wxMetafileDC::GetTextExtent(const wxString& string, long *x, long *y,
|
||||
long *descent, long *externalLeading,
|
||||
const wxFont *theFont,
|
||||
bool WXUNUSED(use16bit)) const
|
||||
void wxMetafileDC::DoGetTextExtent(const wxString& string,
|
||||
wxCoord *x, wxCoord *y,
|
||||
wxCoord *descent, wxCoord *externalLeading,
|
||||
const wxFont *theFont) const
|
||||
{
|
||||
const wxFont *fontToUse = theFont;
|
||||
if (!fontToUse)
|
||||
|
Reference in New Issue
Block a user