Comment....
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24936 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
5294e30a38
commit
6f070389aa
@ -119,7 +119,10 @@ wxDisplay::wxDisplay(size_t index) : wxDisplayBase ( index ), m_priv( new wxDisp
|
||||
XineramaScreenInfo *screenarr;
|
||||
int numscreens;
|
||||
screenarr = XineramaQueryScreens(disp, &numscreens);
|
||||
wxASSERT(index < 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);
|
||||
m_priv->m_depth = DefaultDepth(disp, DefaultScreen(disp));
|
||||
|
Loading…
Reference in New Issue
Block a user