From: Vadim Zeitlin Date: Tue, 6 Aug 2013 16:59:49 +0000 (+0000) Subject: Document wxTreeCtrl::GetItemFont() behaviour for items without font. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/d96ec58bf68323c0968972bd4dde37abe95c0235 Document wxTreeCtrl::GetItemFont() behaviour for items without font. Explain that this method returns wxNullFont if no font was set for the item. Closes #15390. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74629 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/interface/wx/treectrl.h b/interface/wx/treectrl.h index 1aa4c983fa..2b1f1caef8 100644 --- a/interface/wx/treectrl.h +++ b/interface/wx/treectrl.h @@ -516,6 +516,11 @@ public: /** Returns the font of the item label. + + If the font hadn't been explicitly set for the specified @a item with + SetItemFont(), returns an invalid ::wxNullFont font. GetFont() can be + used to retrieve the global tree control font used for the items + without any specific font. */ virtual wxFont GetItemFont(const wxTreeItemId& item) const;