How to get the size of the desktop screen?

Printer-friendly versionPDF version
wxSystemSettings::GetMetric(wxSYS_SCREEN_X);
wxSystemSettings::GetMetric(wxSYS_SCREEN_Y);
::wxDisplaySize(&width, &height); also the functions that can be of interest are:
wxSystemSettings::GetScreenType();
wxDisplay::GetGeometry();
wxDisplay::GetClientArea();