]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/dpycmn.cpp
added wxConvFileName which is a variable, not define as wxConvFile; added comments...
[wxWidgets.git] / src / common / dpycmn.cpp
index 81a2a8e85c73eec17f0a30a6576f407b49a34fe9..8797f81ecbc8067875b57286cd2b8ff49ba5146e 100644 (file)
@@ -44,7 +44,7 @@ const wxVideoMode wxDefaultVideoMode;
 wxDisplayBase::wxDisplayBase(size_t index)
              : m_index (index)
 {
-    wxASSERT_MSG( m_index >= 0 && m_index < GetCount(),
+    wxASSERT_MSG( m_index < GetCount(),
                     wxT("An invalid index was passed to wxDisplay") );
 }