compilation fix in GetPixelSize() for wxUSE_GRAPHICS_CONTEXT==0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46024 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -555,7 +555,7 @@ wxSize wxFont::GetPixelSize() const
|
|||||||
dc->GetTextExtent( wxT("g"), &width, &height, NULL, NULL);
|
dc->GetTextExtent( wxT("g"), &width, &height, NULL, NULL);
|
||||||
return wxSize((int)width, (int)height);
|
return wxSize((int)width, (int)height);
|
||||||
#else
|
#else
|
||||||
wxFontBase::GetPixelSize();
|
return wxFontBase::GetPixelSize();
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user