summaryrefslogtreecommitdiff
path: root/vcl/source/window/window.cxx
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2007-01-25 10:24:52 +0000
committerOliver Bolte <obo@openoffice.org>2007-01-25 10:24:52 +0000
commit95f6f0ce2f839400840ea0c131445c1ebc7471e9 (patch)
tree8ef043592436ef5e6ce4d0ca9208889bf9bd2d3b /vcl/source/window/window.cxx
parentc86603f257b5b4727df4629867803f0b908328de (diff)
INTEGRATION: CWS vcl71 (1.248.6); FILE MERGED
2007/01/11 14:27:32 pl 1.248.6.3: #i73336# apply patch from fs 2007/01/10 13:40:59 pl 1.248.6.2: RESYNC: (1.248-1.249); FILE MERGED 2006/12/13 11:45:46 pl 1.248.6.1: #i72505# 64bit signed/unsigned problem (thanks cmc)
Diffstat (limited to 'vcl/source/window/window.cxx')
-rw-r--r--vcl/source/window/window.cxx12
1 files changed, 7 insertions, 5 deletions
diff --git a/vcl/source/window/window.cxx b/vcl/source/window/window.cxx
index 72e3d6043839..b343fa8a9851 100644
--- a/vcl/source/window/window.cxx
+++ b/vcl/source/window/window.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: window.cxx,v $
*
- * $Revision: 1.250 $
+ * $Revision: 1.251 $
*
- * last change: $Author: obo $ $Date: 2007-01-23 07:08:32 $
+ * last change: $Author: obo $ $Date: 2007-01-25 11:24:52 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -1218,7 +1218,7 @@ WinBits Window::ImplInitRes( const ResId& rResId )
char* pRes = (char*)GetClassRes();
pRes += 8;
- ULONG nStyle = GetLongRes( (void*)pRes );
+ sal_uInt32 nStyle = (sal_uInt32)GetLongRes( (void*)pRes );
((ResId&)rResId).aWinBits = nStyle;
return nStyle;
}
@@ -1230,7 +1230,7 @@ void Window::ImplLoadRes( const ResId& /*rResId*/ )
// newer move this line after IncrementRes
char* pRes = (char*)GetClassRes();
pRes += 12;
- ULONG nHelpId = (ULONG)GetLongRes( (void*)pRes );
+ sal_uInt32 nHelpId = (sal_uInt32)GetLongRes( (void*)pRes );
if ( !nHelpId )
nHelpId = ImplAutoHelpID();
SetHelpId( nHelpId );
@@ -6369,7 +6369,9 @@ void Window::Show( BOOL bVisible, USHORT nFlags )
*/
if( mpWindowImpl->mpWinData && mpWindowImpl->mpWinData->mbEnableNativeWidget )
{
- if( mpWindowImpl->mpParent &&
+ if( !mpWindowImpl->mbNoParentUpdate &&
+ !(nFlags & SHOW_NOPARENTUPDATE) &&
+ mpWindowImpl->mpParent &&
mpWindowImpl->mpParent->mpWindowImpl->mpFrame == mpWindowImpl->mpFrame )
{
const int workaround_border = 5;