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
This commit is contained in:
Przemyslaw Czerpak
2009-03-23 21:02:04 +00:00
parent 7ba238f36a
commit ea4067fcff
5 changed files with 22 additions and 2 deletions

View File

@@ -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

View File

@@ -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 );

View File

@@ -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
}

View File

@@ -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
}
/*----------------------------------------------------------------------*/

View File

@@ -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,