Since it is documented, changed GetOrCreateCellAttr from protected to
public so it can be used from wxPython. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29018 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1820,6 +1820,13 @@ public:
|
||||
void SetRowAttr(int row, wxGridCellAttr *attr);
|
||||
void SetColAttr(int col, wxGridCellAttr *attr);
|
||||
|
||||
// returns the attribute we may modify in place: a new one if this cell
|
||||
// doesn't have any yet or the existing one if it does
|
||||
//
|
||||
// DecRef() must be called on the returned pointer, as usual
|
||||
wxGridCellAttr *GetOrCreateCellAttr(int row, int col) const;
|
||||
|
||||
|
||||
// shortcuts for setting the column parameters
|
||||
|
||||
// set the format for the data in the column: default is string
|
||||
|
Reference in New Issue
Block a user