]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/utils.cpp
OS/2 updates for statusbar processing
[wxWidgets.git] / src / msw / utils.cpp
index 3f4b7e649c2138a573ab2ddc0e3c5d30edee1abe..e191b5aacda2cf626d9972edf7f420195f467772 100644 (file)
@@ -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
 // ---------------------------------------------------------------------------