X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b881fc787d2823bdd8a415080b82feee90804a17..25b3661bd4cb44304418b93c0dee1d0dfb99765c:/wxPython/wx/lib/sheet.py?ds=inline diff --git a/wxPython/wx/lib/sheet.py b/wxPython/wx/lib/sheet.py index 43a2e61f08..0ea303bc39 100644 --- a/wxPython/wx/lib/sheet.py +++ b/wxPython/wx/lib/sheet.py @@ -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):