diff --git a/src/gui/kernel/qapplication_win.cpp b/src/gui/kernel/qapplication_win.cpp
index 3355272..6652232 100644
--- a/src/gui/kernel/qapplication_win.cpp
+++ b/src/gui/kernel/qapplication_win.cpp
@@ -2364,7 +2364,7 @@ LRESULT CALLBACK QtWndProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam
                                                               : QEvent::TabletLeaveProximity,
                                              QPoint(), QPoint(), QPointF(), currentTabletPointer.currentDevice, currentTabletPointer.currentPointerType, 0, 0,
                                              0, 0, 0, 0, 0, currentTabletPointer.llId);
-                QApplication::sendEvent(qApp, &tabletProximity);
+                result = (qt_sendSpontaneousEvent(qApp, &tabletProximity) && tabletProximity.isAccepted());; 
             }
             #endif // QT_NO_TABLETEVENT
 
@@ -3450,7 +3450,7 @@ bool QETWidget::translateTabletEvent(const MSG &msg, PACKET *localPacketBuf,
     int i,
         tiltX,
         tiltY;
-    bool sendEvent = false;
+    bool sendEvent = true;
     QEvent::Type t;
     int z = 0;
     qreal rotation = 0.0;
@@ -3458,7 +3458,7 @@ bool QETWidget::translateTabletEvent(const MSG &msg, PACKET *localPacketBuf,
 
     // the most common event that we get...
     t = QEvent::TabletMove;
-    for (i = 0; i < numPackets; i++) {
+    for (i = 0; sendEvent && i < numPackets; i++) {
         // get the unique ID of the device...
         btnOld = btnNew;
         btnNew = localPacketBuf[i].pkButtons;
@@ -3565,7 +3565,7 @@ bool QETWidget::translateTabletEvent(const MSG &msg, PACKET *localPacketBuf,
         QTabletEvent e(t, localPos, globalPos, hiResGlobal, currentTabletPointer.currentDevice,
                        currentTabletPointer.currentPointerType, prsNew, tiltX, tiltY,
                        tangentialPressure, rotation, z, QApplication::keyboardModifiers(), currentTabletPointer.llId);
-        sendEvent = QApplication::sendSpontaneousEvent(w, &e);
+        sendEvent = (QApplication::sendSpontaneousEvent(w, &e) && e.isAccepted());
 #endif // QT_NO_TABLETEVENT
     }
     return sendEvent;
