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
This commit is contained in:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user