X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6f070389aafc0c9bdb2a004b8b2a3d594c011a8a..065ab451bf9bcf7986049ff82b8b456ecc559aa4:/src/unix/displayx11.cpp diff --git a/src/unix/displayx11.cpp b/src/unix/displayx11.cpp index 0546f5e864..a51285f3b8 100644 --- a/src/unix/displayx11.cpp +++ b/src/unix/displayx11.cpp @@ -5,7 +5,7 @@ // Modified by: // Created: 12/05/02 // RCS-ID: $Id$ -// Copyright: (c) wxWindows team +// Copyright: (c) wxWidgets team // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -119,9 +119,6 @@ wxDisplay::wxDisplay(size_t index) : wxDisplayBase ( index ), m_priv( new wxDisp XineramaScreenInfo *screenarr; int numscreens; screenarr = XineramaQueryScreens(disp, &numscreens); - - //Make sure index is a valid display number... - wxASSERT(index < numscreens) m_priv->m_rect = wxRect(screenarr[index].x_org, screenarr[index].y_org, screenarr[index].width, screenarr[index].height);