]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/cursor.cpp
Setting state to STATE_NEW in wxThread::Create
[wxWidgets.git] / src / os2 / cursor.cpp
index be4238b9b2303f308a8df0557cbddbf096201421..a3dddf55b8618bfa72d6058e184e5343dc995d70 100644 (file)
@@ -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