X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d3db92b294fd48c22ef0d19f64c1c36e21b7f652..353149f8f21d4698a68ae77623ebc0439893b2d1:/src/msw/utils.cpp diff --git a/src/msw/utils.cpp b/src/msw/utils.cpp index 3f4b7e649c..e191b5aacd 100644 --- a/src/msw/utils.cpp +++ b/src/msw/utils.cpp @@ -986,6 +986,15 @@ void wxDisplaySize(int *width, int *height) if ( height ) *height = GetDeviceCaps(dc, VERTRES); } +void wxDisplaySizeMM(int *width, int *height) +{ + ScreenHDC dc; + + if ( width ) *width = GetDeviceCaps(dc, HORZSIZE); + if ( height ) *height = GetDeviceCaps(dc, VERTSIZE); +} + + // --------------------------------------------------------------------------- // window information functions // ---------------------------------------------------------------------------