X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6f070389aafc0c9bdb2a004b8b2a3d594c011a8a..83448d71476c44b449f09395cda06fa72b19a50e:/src/unix/displayx11.cpp diff --git a/src/unix/displayx11.cpp b/src/unix/displayx11.cpp index 0546f5e864..08cf56f9f0 100644 --- a/src/unix/displayx11.cpp +++ b/src/unix/displayx11.cpp @@ -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);