Fixed old font-related code that caused problems on wxMAC, also replaced all accesses to m_font with GetFont()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58844 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Jaakko Salli
2009-02-12 16:55:19 +00:00
parent d11c9d86b6
commit 2197ec8012
4 changed files with 10 additions and 37 deletions

View File

@@ -1479,7 +1479,7 @@ void wxPropertyGridManager::SetSplitterLeft( bool subProps, bool allPages )
else
{
wxClientDC dc(this);
dc.SetFont(m_pPropGrid->m_font);
dc.SetFont(m_pPropGrid->GetFont());
int highest = 0;
unsigned int i;