From 9e3bf67113ce677b1ad8211477108335151b8ca2 Mon Sep 17 00:00:00 2001 From: Yuri Dario Date: Tue, 28 Feb 2012 16:25:15 +0000 Subject: i118923 - OS/2 port: minor fixes to build system. --- vcl/os2/source/window/salobj.cxx | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'vcl') diff --git a/vcl/os2/source/window/salobj.cxx b/vcl/os2/source/window/salobj.cxx index 7afd4b73aba5..3da4699352aa 100644 --- a/vcl/os2/source/window/salobj.cxx +++ b/vcl/os2/source/window/salobj.cxx @@ -198,7 +198,9 @@ MRESULT EXPENTRY SalSysObjChildWndProc( HWND hWnd, ULONG nMsg, MRESULT nRet = 0; int bDef = TRUE; +#if OSL_DEBUG_LEVEL>0 debug_printf( "SalSysObjChildWndProc hWnd 0x%x nMsg %d\n", hWnd, nMsg); +#endif switch( nMsg ) { @@ -233,7 +235,9 @@ MRESULT EXPENTRY SalSysObjClipWndProc( HWND hWnd, ULONG nMsg, MRESULT nRet = 0; int bDef = TRUE; +#if OSL_DEBUG_LEVEL>0 debug_printf( "SalSysObjClipWndProc hWnd 0x%x nMsg %d\n", hWnd, nMsg); +#endif switch( nMsg ) { @@ -360,8 +364,10 @@ SalObject* ImplSalCreateObject( Os2SalInstance* pInst, Os2SalFrame* pParent ) if ( hWnd ) { +#if OSL_DEBUG_LEVEL>0 debug_printf("ImplSalCreateObject hWndChild %x\n", hWndChild); debug_printf("ImplSalCreateObject hWnd %x\n", hWnd); +#endif pObject->mhWnd = hWnd; pObject->mhWndChild = hWndChild; pObject->maSysData.hWnd = hWndChild; @@ -474,7 +480,9 @@ void Os2SalObject::UnionClipRegion( long nX, long nY, long nWidth, long nHeight nX, mnHeight-(nY+nHeight), nWidth, nHeight, mhWnd, mhLastClipWnd, 0, NULL, NULL ); +#if OSL_DEBUG_LEVEL>0 debug_printf("Os2SalObject::UnionClipRegion hClipWnd %x\n", hClipWnd); +#endif mhLastClipWnd = hClipWnd; } -- cgit