From Stephan Huber, "the computation of the windowtitlebar-height was wrong, attached you'll

find a fixed version for GraphicsWindowCarbon.cpp
"
This commit is contained in:
Robert Osfield
2007-06-12 08:28:41 +00:00
parent 607ecf17cc
commit c7f5d96caf

View File

@@ -731,7 +731,7 @@ bool GraphicsWindowCarbon::realizeImplementation()
Rect titleRect;
GetWindowBounds(_window, kWindowTitleBarRgn, &titleRect);
_windowTitleHeight = abs(titleRect.top);
_windowTitleHeight = abs(titleRect.bottom - titleRect.top);
if ((_ownsWindow) || (windowData && windowData->installEventHandler()))
installEventHandler();