X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d3db92b294fd48c22ef0d19f64c1c36e21b7f652..28be2e8a170979d476a5ea4f585505b8a2f5af27:/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 // ---------------------------------------------------------------------------