- *width = qd.screenBits.bounds.right - qd.screenBits.bounds.left ;
- *height = qd.screenBits.bounds.bottom - qd.screenBits.bounds.top ;
- *height -= LMGetMBarHeight() ;
+ BitMap screenBits;
+ GetQDGlobalsScreenBits( &screenBits );
+
+ *width = screenBits.bounds.right - screenBits.bounds.left ;
+ *height = screenBits.bounds.bottom - screenBits.bounds.top ;
+#if TARGET_CARBON
+ SInt16 mheight ;
+ GetThemeMenuBarHeight( &mheight ) ;
+ *height -= mheight ;
+#else
+ *height -= LMGetMBarHeight() ;
+#endif
+}
+
+void wxDisplaySizeMM(int *width, int *height)
+{
+ wxDisplaySize(width, height);