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:
@@ -1310,6 +1310,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
|
||||
@@ -1794,12 +1801,6 @@ protected:
|
||||
// do we have some place to store attributes in?
|
||||
bool CanHaveAttributes();
|
||||
|
||||
// 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;
|
||||
|
||||
// cell attribute cache (currently we only cache 1, may be will do
|
||||
// more/better later)
|
||||
struct CachedAttr
|
||||
|
Reference in New Issue
Block a user