summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorYuri Dario <ydario@apache.org>2012-02-28 16:25:15 +0000
committerYuri Dario <ydario@apache.org>2012-02-28 16:25:15 +0000
commit9e3bf67113ce677b1ad8211477108335151b8ca2 (patch)
treea8c9a51b69151a59dc139160f44b24277e217e22 /vcl
parent410cf84537325c2f1bdb605343a08d9f10d11713 (diff)
i118923 - OS/2 port: minor fixes to build system.
Diffstat (limited to 'vcl')
-rw-r--r--vcl/os2/source/window/salobj.cxx8
1 files changed, 8 insertions, 0 deletions
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;
}