]> git.saurik.com Git - wxWidgets.git/commitdiff
Use "non-negative" in assert message instead of "positive".
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 10 Aug 2009 11:18:31 +0000 (11:18 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 10 Aug 2009 11:18:31 +0000 (11:18 +0000)
Closes #11059.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61636 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/sizer.h

index 7839946cd1ff3d39751d26889cb436ea0d3abf9b..ffd8442e988875e1b32a79881ea2e8dae6a69e5e 100644 (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;
     }