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:
Vadim Zeitlin 2009-08-10 11:18:31 +00:00
parent 4a00e77ce6
commit 0be3080aed

View File

@ -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;
}