summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Schäfer <ssa@openoffice.org>2001-11-30 16:31:47 +0000
committerStephan Schäfer <ssa@openoffice.org>2001-11-30 16:31:47 +0000
commit17c59a2685ddb78534054c273a5bc8f2d18ec3b6 (patch)
tree72ab4b3c7c253dbd1b7eb44623c16cf908d2100a
parent9cfc496e7d21caae2972d26ed5e0d11f74266fc9 (diff)
#95063# update frame geometry after pos-size change
-rw-r--r--vcl/win/source/window/salframe.cxx16
1 files changed, 3 insertions, 13 deletions
diff --git a/vcl/win/source/window/salframe.cxx b/vcl/win/source/window/salframe.cxx
index a4d67af85a4b..9b434df3ac06 100644
--- a/vcl/win/source/window/salframe.cxx
+++ b/vcl/win/source/window/salframe.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: salframe.cxx,v $
*
- * $Revision: 1.36 $
+ * $Revision: 1.37 $
*
- * last change: $Author: ssa $ $Date: 2001-11-23 12:37:15 $
+ * last change: $Author: ssa $ $Date: 2001-11-30 17:31:47 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -1141,17 +1141,7 @@ void SalFrame::SetPosSize( long nX, long nY, long nWidth, long nHeight,
nY = nScreenY;
SetWindowPos( maFrameData.mhWnd, 0, nX, nY, (int)nWidth, (int)nHeight, SWP_NOZORDER | SWP_NOACTIVATE | nPosSize );
-
- if( !(nPosSize & SWP_NOMOVE) )
- {
- maGeometry.nX = nX;
- maGeometry.nY = nY;
- }
- if( !(nPosSize & SWP_NOSIZE) )
- {
- maGeometry.nWidth = nWidth;
- maGeometry.nHeight = nHeight;
- }
+ UpdateFrameGeometry( maFrameData.mhWnd, this );
// Notification -- really ???
if( nEvent )