summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2005-11-01 09:40:35 +0000
committerKurt Zenker <kz@openoffice.org>2005-11-01 09:40:35 +0000
commit65805874d7ebe6e1c96a346b8ba436a4e2d4e94c (patch)
tree9ef6cc93d55d6f1dda0905eda5c75c3c524cbe2f /vcl
parent2a3979b0ee580a8fd0700de2d6e270338366d54b (diff)
INTEGRATION: CWS vcl42 (1.117.22); FILE MERGED
2005/10/06 08:25:46 pl 1.117.22.2: RESYNC: (1.117-1.119); FILE MERGED 2005/08/09 07:29:10 pl 1.117.22.1: #i52777# remove ugly hack
Diffstat (limited to 'vcl')
-rw-r--r--vcl/win/source/window/salframe.cxx15
1 files changed, 7 insertions, 8 deletions
diff --git a/vcl/win/source/window/salframe.cxx b/vcl/win/source/window/salframe.cxx
index 57e29cb18fed..a1241c097e97 100644
--- a/vcl/win/source/window/salframe.cxx
+++ b/vcl/win/source/window/salframe.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: salframe.cxx,v $
*
- * $Revision: 1.120 $
+ * $Revision: 1.121 $
*
- * last change: $Author: hr $ $Date: 2005-10-13 17:08:42 $
+ * last change: $Author: kz $ $Date: 2005-11-01 10:40:35 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -57,7 +57,6 @@
#include <tools/debug.hxx>
#endif
-#define private public
#ifndef _SV_WINCOMP_HXX
#include <wincomp.hxx>
#endif
@@ -232,13 +231,13 @@ void ImplSalGetWorkArea( HWND hWnd, RECT *pRect, const RECT *pParentRect )
while( pWin )
{
WorkWindow *pWorkWin = (pWin->GetType() == WINDOW_WORKWINDOW) ? (WorkWindow *) pWin : NULL;
- if( pWorkWin && pWorkWin->mpWindowImpl->mbReallyVisible && pWorkWin->mbFullScreenMode )
+ if( pWorkWin && pWorkWin->ImplGetWindowImpl()->mbReallyVisible && pWorkWin->IsFullScreenMode() )
{
bIgnoreTaskbar = true;
break;
}
else
- pWin = pWin->mpWindowImpl->mpParent;
+ pWin = pWin->ImplGetWindowImpl()->mpParent;
}
}
@@ -1202,9 +1201,9 @@ HWND ImplGetParentHwnd( HWND hWnd )
WinSalFrame* pFrame = GetWindowPtr( hWnd );
if( !pFrame || !pFrame->GetInstance())
return ::GetParent( hWnd );
- Window *pRealParent = ((Window*)pFrame->GetInstance())->mpWindowImpl->mpRealParent;
+ Window *pRealParent = ((Window*)pFrame->GetInstance())->ImplGetWindowImpl()->mpRealParent;
if( pRealParent )
- return static_cast<WinSalFrame*>(pRealParent->mpWindowImpl->mpFrame)->mhWnd;
+ return static_cast<WinSalFrame*>(pRealParent->ImplGetWindowImpl()->mpFrame)->mhWnd;
else
return ::GetParent( hWnd );
@@ -3115,7 +3114,7 @@ static long ImplHandleMouseMsg( HWND hWnd, UINT nMsg,
// hopefully we will not receive the corresponding button up before this
// button down arrives again
Window *pWin = (Window*) pFrame->GetInstance();
- if( pWin && pWin->mpWindowImpl->mpFrameData->mnFocusId )
+ if( pWin && pWin->ImplGetWindowImpl()->mpFrameData->mnFocusId )
{
ImplPostMessage( hWnd, nMsg, wParam, lParam );
return 1;