git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28905 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn 2004-08-25 22:05:59 +00:00
parent f86c9a1ff0
commit ac1c82d736

View File

@ -64,6 +64,8 @@ class CCellEditor(wx.grid.PyGridCellEditor):
def Show(self, show, attr):
""" Show or hide the edit control. Use the attr (if not None)
to set colors or fonts for the control.
NOTE: There is no need to everride this if you don't need
to do something out of the ordingary.
"""
self.base_Show(show, attr)
@ -71,6 +73,8 @@ class CCellEditor(wx.grid.PyGridCellEditor):
""" Draws the part of the cell not occupied by the edit control. The
base class version just fills it with background colour from the
attribute.
NOTE: There is no need to everride this if you don't need
to do something out of the ordingary.
"""
# Call base class method.
self.base_PaintBackground(self, rect, attr)
@ -146,7 +150,10 @@ class CCellEditor(wx.grid.PyGridCellEditor):
pass
def Destroy(self):
""" Final cleanup """
""" Final cleanup
NOTE: There is no need to everride this if you don't need
to do something out of the ordingary.
"""
self.base_Destroy()
def Clone(self):