X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b389a12d03d1485d6297a031be44d90ad64623c4..939fadc8aab8cc85906685ed6cdcb46d28f27903:/src/os2/cursor.cpp

diff --git a/src/os2/cursor.cpp b/src/os2/cursor.cpp
index be4238b9b2..a3dddf55b8 100644
--- a/src/os2/cursor.cpp
+++ b/src/os2/cursor.cpp
@@ -310,6 +310,10 @@ wxCursor::wxCursor(
                                                                   );
             break;
     }
+    //
+    // No need to destroy the stock cursors
+    //
+    ((wxCursorRefData *)m_refData)->m_bDestroyCursor = FALSE;
 } // end of wxCursor::wxCursor
 
 // Global cursor setting