]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/cursor.cpp
Changed name to wxFIXED_MINSIZE since that is more descriptive of what
[wxWidgets.git] / src / os2 / cursor.cpp
index 73a793577c00e57e4edfadce0862af421570009f..c1d68f0ffe543b8b4b111f02d1a08c3921b46acb 100644 (file)
 #include "wx/app.h"
 #include "wx/cursor.h"
 #include "wx/icon.h"
-#include "wx/resource.h"
 #endif
 
 #include "wx/os2/private.h"
+#include "wx/os2/wxrsc.h"
 #include "wx/image.h"
 
 #include "assert.h"
@@ -311,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