]> git.saurik.com Git - wxWidgets.git/blobdiff - src/unix/displayx11.cpp
for built-in dialogs, there is no m_peer instance, and still we might have a Refresh...
[wxWidgets.git] / src / unix / displayx11.cpp
index 0546f5e864e65a348115df8a184f1bc9b5d04f51..a51285f3b891c5620a59e9ed11dd70a22ea937fe 100644 (file)
@@ -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);