replaced FIXME comment left in the last commit with an explanation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49700 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -375,8 +375,11 @@ void wxClientDisplayRect(int *x, int *y, int *width, int *height)
|
||||
{
|
||||
wxX11Ptr x11ptr(workareas); // ensure it will be freed
|
||||
|
||||
// check that we retrieved the property of the expected type and
|
||||
// that we did get back 4 longs (32 is the format for long), as
|
||||
// requested
|
||||
if ( actualType != XA_CARDINAL ||
|
||||
format != 32 || // FIXME: what is this 32?
|
||||
format != 32 ||
|
||||
numItems != 4 )
|
||||
{
|
||||
wxLogDebug(_T("XGetWindowProperty(\"_NET_WORKAREA\") failed"));
|
||||
|
Reference in New Issue
Block a user