diff options
author | Jan Holesovsky <kendy@suse.cz> | 2012-06-06 15:17:43 +0200 |
---|---|---|
committer | Jan Holesovsky <kendy@suse.cz> | 2012-06-06 15:18:39 +0200 |
commit | 5662854bc29acb45c1c449c05d1e92f96a4b335a (patch) | |
tree | 5ba6ffc0b01fd0a2d33da2b495db0f5c1845f092 /vcl | |
parent | b679dd69c0ebc1e8f4a3e85a2ef39c6a68a814f5 (diff) |
calc input line: Fix crash on MacOSX.
Change-Id: Iff50dfc1b4730ff584e3015486da4acf8fd5cb47
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/window/brdwin.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/window/brdwin.cxx b/vcl/source/window/brdwin.cxx index 601a6147b742..9139f5cba360 100644 --- a/vcl/source/window/brdwin.cxx +++ b/vcl/source/window/brdwin.cxx @@ -1098,7 +1098,7 @@ void ImplSmallBorderWindowView::Init( OutputDevice* pDev, long nWidth, long nHei { // FIXME: this is currently only on aqua, check with other // platforms - if( ImplGetSVData()->maNWFData.mbNoFocusRects ) + if( ImplGetSVData()->maNWFData.mbNoFocusRects && !( nBorderStyle & WINDOW_BORDER_NWF ) ) { // for native widget drawing we must find out what // control this border belongs to |