diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 24fe95792d..276c88a56c 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -8,6 +8,13 @@ 2009-12-31 13:59 UTC+0100 Foo Bar (foo.bar foobar.org) */ +2009-03-23 22:08 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) + * harbour/contrib/gtwvg/gtwvg.h + * harbour/contrib/gtwvg/wvggui.c + * harbour/contrib/gtwvg/wvgcuig.c + * harbour/contrib/gtwvg/wvgcore.c + ! pacified MinGW-CE builds warnings + 2009-03-23 21:42 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbodbc/odbc.c * harbour/contrib/hbtpathy/tpwin.c diff --git a/harbour/contrib/gtwvg/gtwvg.h b/harbour/contrib/gtwvg/gtwvg.h index 935be7e238..57853d1584 100644 --- a/harbour/contrib/gtwvg/gtwvg.h +++ b/harbour/contrib/gtwvg/gtwvg.h @@ -601,7 +601,7 @@ typedef struct _tag_HB_GT_COLDEF # define SC_MAXIMIZE 0xF030 #endif -#if defined( HB_OS_WIN_CE ) +#if defined( HB_OS_WIN_CE ) && !defined( __MINGW32CE__ ) BOOL SetMenu( HWND hWnd, HMENU hMenu ); HMENU GetMenu( HWND hWnd ); diff --git a/harbour/contrib/gtwvg/wvgcore.c b/harbour/contrib/gtwvg/wvgcore.c index 0c5b8b0158..d4e786cbf8 100644 --- a/harbour/contrib/gtwvg/wvgcore.c +++ b/harbour/contrib/gtwvg/wvgcore.c @@ -684,6 +684,12 @@ BOOL hb_wvt_DrawImage( HDC hdc, int x1, int y1, int wd, int ht, char * image ) } return( bResult ); #else + HB_SYMBOL_UNUSED( hdc ); + HB_SYMBOL_UNUSED( x1 ); + HB_SYMBOL_UNUSED( y1 ); + HB_SYMBOL_UNUSED( wd ); + HB_SYMBOL_UNUSED( ht ); + HB_SYMBOL_UNUSED( image ); return( FALSE ); #endif } diff --git a/harbour/contrib/gtwvg/wvgcuig.c b/harbour/contrib/gtwvg/wvgcuig.c index 8fd2b7b4f0..ac49c56a2e 100644 --- a/harbour/contrib/gtwvg/wvgcuig.c +++ b/harbour/contrib/gtwvg/wvgcuig.c @@ -1407,6 +1407,13 @@ static void hb_wvg_RenderPicture( PHB_GTWVT pWVT, PHB_GOBJS gObj, int iLeft, int SelectClipRgn( hdc, NULL ); DeleteObject( hrgn1 ); } +#else + HB_SYMBOL_UNUSED( pWVT ); + HB_SYMBOL_UNUSED( gObj ); + HB_SYMBOL_UNUSED( iLeft ); + HB_SYMBOL_UNUSED( iTop ); + HB_SYMBOL_UNUSED( iRight ); + HB_SYMBOL_UNUSED( iBottom ); #endif } /*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/gtwvg/wvggui.c b/harbour/contrib/gtwvg/wvggui.c index 9d52b3dde8..05b2b2cef1 100644 --- a/harbour/contrib/gtwvg/wvggui.c +++ b/harbour/contrib/gtwvg/wvggui.c @@ -1813,7 +1813,7 @@ static BOOL hb_gt_wvt_Info( PHB_GT pGT, int iType, PHB_GT_INFO pInfo ) #else SetWindowLongPtr( pWVT->hWnd, GWL_STYLE, style ); #endif -#if defined( HB_OS_WIN_CE ) +#if defined( HB_OS_WIN_CE ) && !defined( __MINGW32CE__ ) #define SWP_DEFERERASE 0 #endif SetWindowPos( pWVT->hWnd, NULL, 0, 0, 0, 0,