2010-02-11 12:37 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbwin/wapi_wingdi.c
! Fixed return value of WAPI_SELECTOBJECT() again.
This commit is contained in:
@@ -17,6 +17,10 @@
|
||||
past entries belonging to author(s): Viktor Szakats.
|
||||
*/
|
||||
|
||||
2010-02-11 12:37 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
|
||||
* contrib/hbwin/wapi_wingdi.c
|
||||
! Fixed return value of WAPI_SELECTOBJECT() again.
|
||||
|
||||
2010-02-11 12:32 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
|
||||
* src/rtl/direct.c
|
||||
* int -> HB_SIZE
|
||||
|
||||
@@ -628,7 +628,7 @@ HB_FUNC( WAPI_SELECTOBJECT )
|
||||
{
|
||||
/* TODO: Solve reference counting to 'h' handle. Also for returned one. */
|
||||
if( bRegion )
|
||||
wapi_ret_HANDLE( SelectObject( hDC, h ) );
|
||||
hb_retnint( ( HB_PTRDIFF ) SelectObject( hDC, h ) );
|
||||
else
|
||||
hb_retl( SelectObject( hDC, h ) != NULL ); /* NOTE: We don't return a raw pointer. */
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user