Corrected include/wx/palette.h; added wxGenericTreeCtrl::SetFont

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9869 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2001-04-24 16:38:02 +00:00
parent 2c1c448a24
commit 3da2715fb8
3 changed files with 19 additions and 1 deletions

View File

@@ -818,6 +818,21 @@ void wxGenericTreeCtrl::SetItemFont(const wxTreeItemId& item, const wxFont& font
RefreshLine(pItem);
}
bool wxGenericTreeCtrl::SetFont( const wxFont &font )
{
wxScrolledWindow::SetFont(font);
m_normalFont = font ;
m_boldFont = wxFont( m_normalFont.GetPointSize(),
m_normalFont.GetFamily(),
m_normalFont.GetStyle(),
wxBOLD,
m_normalFont.GetUnderlined());
return TRUE;
}
// -----------------------------------------------------------------------------
// item status inquiries
// -----------------------------------------------------------------------------