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