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:
@@ -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
|
||||
// -----------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user