::wxDisplaySize

void wxDisplaySize(int *width, int *height)

Gets the physical size of the display in pixels.