Fixed SetItemBold and editing 'growable' properties of

wxFlexGridSizer.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44557 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Roman Rolinsky
2007-02-23 09:19:07 +00:00
parent 9861f022c3
commit c37cba8974
3 changed files with 16 additions and 22 deletions

View File

@@ -1149,10 +1149,11 @@ class XML_Tree(wx.TreeCtrl):
self.PopupMenu(menu, evt.GetPosition())
menu.Destroy()
# Redefine to force the update of font dimentions
def SetItemBold(self, item):
wx.TreeCtrl.SetItemBold(self, item)
self.SetIndent(self.GetIndent())
# Redefine to force the update of font dimentions on wxGTK
if wx.Platform == '__WXGTK__':
def SetItemBold(self, item, state=True):
wx.TreeCtrl.SetItemBold(self, item, state)
self.SetIndent(self.GetIndent())
# Apply changes
def Apply(self, xxx, item):