compilation fixes for non default wxUSE_XXX values (patch 662781)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18695 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -2887,18 +2887,5 @@ void wxDC::SetLogicalScale(
|
||||
m_logicalScaleY = dY;
|
||||
}; // end of wxDC::SetLogicalScale
|
||||
|
||||
#if WXWIN_COMPATIBILITY
|
||||
void wxDC::DoGetTextExtent(const wxString& string, float *x, float *y,
|
||||
float *descent, float *externalLeading,
|
||||
wxFont *theFont, bool use16bit) const
|
||||
{
|
||||
wxCoord x1, y1, descent1, externalLeading1;
|
||||
GetTextExtent(string, & x1, & y1, & descent1, & externalLeading1, theFont, use16bit);
|
||||
*x = x1; *y = y1;
|
||||
if (descent)
|
||||
*descent = descent1;
|
||||
if (externalLeading)
|
||||
*externalLeading = externalLeading1;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user