2011-04-22 21:35 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)

* contrib/gtwvg/gtwvg.c
  * contrib/gtwvg/wvgscrlb.prg
  * contrib/gtwvg/wvgsysw.prg
  * contrib/gtwvg/wvgtoolb.prg
    ! Changed: C++ comments to Ansi C compatible.
      Hopefully I did it right, not tested the build.
This commit is contained in:
Pritpal Bedi
2011-04-23 04:43:43 +00:00
parent 85b449660f
commit b0f4ae651b
5 changed files with 18 additions and 10 deletions

View File

@@ -16,6 +16,14 @@
The license applies to all entries newer than 2009-04-28.
*/
2011-04-22 21:35 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/gtwvg/gtwvg.c
* contrib/gtwvg/wvgscrlb.prg
* contrib/gtwvg/wvgsysw.prg
* contrib/gtwvg/wvgtoolb.prg
! Changed: C++ comments to Ansi C compatible.
Hopefully I did it right, not tested the build.
2011-04-23 02:53 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.*.po
* utils/hbmk2/hbmk2.prg

View File

@@ -642,7 +642,7 @@ static void hb_gt_wvt_AddCharToInputQueue( PHB_GTWVT pWVT, int iKey )
PHB_ITEM pEvParams = hb_itemNew( NULL );
hb_itemPutNI( pEvParams, iKey );
hb_gt_wvt_FireEvent( pWVT, HB_GTE_KEYBOARD, pEvParams );
// hb_itemRelease( pEvParams ); /* Under situations it GPF's */
/* hb_itemRelease( pEvParams ); */ /* Under situations it GPF's */
}
}
@@ -4461,11 +4461,11 @@ static void hb_wvt_gtCreateToolTipWindow( PHB_GTWVT pWVT )
pWVT->hWndTT = hwndTT;
}
/*----------------------------------------------------------------------//
/*-----------------------------------------------------------------------/
*
* Exported functions for API calls
*
//----------------------------------------------------------------------*/
/-----------------------------------------------------------------------*/
PHB_GTWVT hb_wvt_gtGetWVT( void )
{

View File

@@ -88,7 +88,7 @@ typedef struct tagSCROLLBARINFO {;
int xyThumbTop;
int xyThumbBottom;
int reserved;
DWORD x; //rgstate[CCHILDREN_SCROLLBAR+1];
DWORD x; /* rgstate[CCHILDREN_SCROLLBAR+1]; */
} SCROLLBARINFO
typedef struct tagSCROLLINFO {;

View File

@@ -336,7 +336,7 @@ METHOD create( oParent, oOwner, oScreenPS, oPrinterPS, aPos ) CLASS WvgFontDialo
::WvgSysWindow:create( oParent, oOwner )
// ::nWndProc := hb_AsCallBack( "WNDPROC", Self )
/* ::nWndProc := hb_AsCallBack( "WNDPROC", Self ) */
RETURN Self
@@ -443,7 +443,7 @@ METHOD display( nMode ) CLASS WvgFontDialog
METHOD destroy() CLASS WvgFontDialog
// hb_FreeCallBack( ::nWndProc )
/* hb_FreeCallBack( ::nWndProc ) */
RETURN Self
@@ -476,9 +476,9 @@ METHOD GetWvgFont( aFont ) CLASS WvgFontDialog
/*----------------------------------------------------------------------*/
/*----------------------------------------------------------------------*/
/*----------------------------------------------------------------------*/
//
// Class WvgFont()
//
/*
Class WvgFont()
*/
/*----------------------------------------------------------------------*/
/*----------------------------------------------------------------------*/
/*----------------------------------------------------------------------*/

View File

@@ -332,7 +332,7 @@ METHOD WvgToolBar:addItem( cCaption, xImage, xDisabledImage, xHotImage, cDLL, nS
ENDCASE
IF !empty( pBitmap )
//oBtn:image := pBitmap
/* oBtn:image := pBitmap */
IF !empty( nMapRGB )
nBtn := WAPI_ImageList_AddMasked( ::hImageList, pBitmap, nMapRGB )