diff options
Diffstat (limited to 'vcl/source/window/window.cxx')
-rw-r--r-- | vcl/source/window/window.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/vcl/source/window/window.cxx b/vcl/source/window/window.cxx index 6c221480c8fb..316bb0c438a1 100644 --- a/vcl/source/window/window.cxx +++ b/vcl/source/window/window.cxx @@ -1193,6 +1193,7 @@ void Window::ImplInitAppFontData( vcl::Window* pWindow ) pSVData->maGDIData.mnAppFontX = nTextWidth * 10 / 8; pSVData->maGDIData.mnAppFontY = nTextHeight * 10; +#ifdef MACOSX // FIXME: this is currently only on OS X, check with other // platforms if( pSVData->maNWFData.mbNoFocusRects ) @@ -1214,6 +1215,7 @@ void Window::ImplInitAppFontData( vcl::Window* pWindow ) pSVData->maGDIData.mnAppFontY = (aContentRgn.GetHeight()-4) * 10; } } +#endif pSVData->maGDIData.mnRealAppFontX = pSVData->maGDIData.mnAppFontX; if ( pSVData->maAppData.mnDialogScaleX ) |