Make wxGridCellAttr ctor taking a single argument explicit
There doesn't seem to be any reason for allowing to implicitly convert wxGridCellAttr pointer to wxGridCellAttr object.
This commit is contained in:
@@ -912,7 +912,8 @@ public:
|
||||
/**
|
||||
Default constructor.
|
||||
*/
|
||||
wxGridCellAttr(wxGridCellAttr* attrDefault = NULL);
|
||||
explicit wxGridCellAttr(wxGridCellAttr* attrDefault = NULL);
|
||||
|
||||
/**
|
||||
Constructor specifying some of the often used attributes.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user