Use "non-negative" in assert message instead of "positive".
Closes #11059. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61636 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
4a00e77ce6
commit
0be3080aed
@ -740,13 +740,13 @@ public:
|
||||
|
||||
void SetCols( int cols )
|
||||
{
|
||||
wxASSERT_MSG( cols >= 0, "Number of columns must be positive");
|
||||
wxASSERT_MSG( cols >= 0, "Number of columns must be non-negative");
|
||||
m_cols = cols;
|
||||
}
|
||||
|
||||
void SetRows( int rows )
|
||||
{
|
||||
wxASSERT_MSG( rows >= 0, "Number of rows must be positive");
|
||||
wxASSERT_MSG( rows >= 0, "Number of rows must be non-negative");
|
||||
m_rows = rows;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user