From 0be3080aeda90ee387a02c3af00415c5b88668a5 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 10 Aug 2009 11:18:31 +0000 Subject: [PATCH] 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 --- include/wx/sizer.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/wx/sizer.h b/include/wx/sizer.h index 7839946cd1..ffd8442e98 100644 --- a/include/wx/sizer.h +++ b/include/wx/sizer.h @@ -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; } -- 2.45.2