X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7c9955d147ed92cdd79d795ed94d6e03fca06a52..10a2749bd77bd41435e9873087772e1ea4ec76a2:/src/os2/cursor.cpp diff --git a/src/os2/cursor.cpp b/src/os2/cursor.cpp index be4238b9b2..c1d68f0ffe 100644 --- a/src/os2/cursor.cpp +++ b/src/os2/cursor.cpp @@ -23,6 +23,7 @@ #endif #include "wx/os2/private.h" +#include "wx/os2/wxrsc.h" #include "wx/image.h" #include "assert.h" @@ -310,6 +311,10 @@ wxCursor::wxCursor( ); break; } + // + // No need to destroy the stock cursors + // + ((wxCursorRefData *)m_refData)->m_bDestroyCursor = FALSE; } // end of wxCursor::wxCursor // Global cursor setting