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:
@@ -740,13 +740,13 @@ public:
|
|||||||
|
|
||||||
void SetCols( int cols )
|
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;
|
m_cols = cols;
|
||||||
}
|
}
|
||||||
|
|
||||||
void SetRows( int rows )
|
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;
|
m_rows = rows;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user