+void wxClientDisplayRect(int *x, int *y, int *width, int *height)
+{
+ // Determine the desktop dimensions minus the taskbar and any other
+ // special decorations...
+ RECT r;
+ SystemParametersInfo(SPI_GETWORKAREA, 0, &r, 0);
+ if (x) *x = r.left;
+ if (y) *y = r.top;
+ if (width) *width = r.right - r.left;
+ if (height) *height = r.bottom - r.top;
+}
+