]> git.saurik.com Git - wxWidgets.git/blobdiff - src/unix/displayx11.cpp
and now fixed USE_CONTEXT_MENU definition as well
[wxWidgets.git] / src / unix / displayx11.cpp
index 0546f5e864e65a348115df8a184f1bc9b5d04f51..08cf56f9f0742b404346dae439c44b04c6abe450 100644 (file)
@@ -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);