X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1a75e76f399bc91b3f841e7f77140e83f9bd5958..1978421a6d8b81c1f8a961da4b8ddf544fec7b1b:/src/os2/cursor.cpp diff --git a/src/os2/cursor.cpp b/src/os2/cursor.cpp index 73a793577c..a3dddf55b8 100644 --- a/src/os2/cursor.cpp +++ b/src/os2/cursor.cpp @@ -20,7 +20,6 @@ #include "wx/app.h" #include "wx/cursor.h" #include "wx/icon.h" -#include "wx/resource.h" #endif #include "wx/os2/private.h" @@ -311,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