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