mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-05 05:57:17 +01:00
Qt5: fixed returning values of some functions in C bindings.
git-svn-id: trunk@57654 -
This commit is contained in:
parent
68b3fe108b
commit
f98c9d4316
@ -48,7 +48,7 @@ void QBackingStore_size(QBackingStoreH handle, PSize retval)
|
||||
|
||||
bool QBackingStore_scroll(QBackingStoreH handle, const QRegionH area, int dx, int dy)
|
||||
{
|
||||
((QBackingStore *)handle)->scroll(*(const QRegion*)area, dx, dy);
|
||||
return ((QBackingStore *)handle)->scroll(*(const QRegion*)area, dx, dy);
|
||||
}
|
||||
|
||||
void QBackingStore_beginPaint(QBackingStoreH handle, const QRegionH AnonParam1)
|
||||
|
||||
@ -391,12 +391,12 @@ void QWindow_setScreen(QWindowH handle, QScreenH screen)
|
||||
|
||||
bool QWindow_setKeyboardGrabEnabled(QWindowH handle, bool grab)
|
||||
{
|
||||
((QWindow *)handle)->setKeyboardGrabEnabled(grab);
|
||||
return ((QWindow *)handle)->setKeyboardGrabEnabled(grab);
|
||||
}
|
||||
|
||||
bool QWindow_setMouseGrabEnabled(QWindowH handle, bool grab)
|
||||
{
|
||||
((QWindow *)handle)->setMouseGrabEnabled(grab);
|
||||
return ((QWindow *)handle)->setMouseGrabEnabled(grab);
|
||||
}
|
||||
|
||||
void QWindow_mapToGlobal(QWindowH handle, PQtPoint retval, const QPointH AnonParam1)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user