X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/892dd3cef3e3a61ffd3df32f9c1ff7e06b8eee4d..301deecc27a700e5432f8923be63ec71a79b8a52:/src/common/dpycmn.cpp diff --git a/src/common/dpycmn.cpp b/src/common/dpycmn.cpp index 81a2a8e85c..8797f81ecb 100644 --- a/src/common/dpycmn.cpp +++ b/src/common/dpycmn.cpp @@ -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") ); }