]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/cursor.cpp
Committing in .
[wxWidgets.git] / src / msw / cursor.cpp
index 756308ebd22a88e1acae7a9130ff5d36811132b0..d84d6c2aa488a6c5e6d97dfee1c4ff192a1a6241 100644 (file)
@@ -315,10 +315,11 @@ wxCursor::wxCursor(int cursor_type)
       refData->m_hCursor = (WXHCURSOR) LoadCursor((HINSTANCE) NULL, IDC_ARROW);
       break;
   }
       refData->m_hCursor = (WXHCURSOR) LoadCursor((HINSTANCE) NULL, IDC_ARROW);
       break;
   }
-#endif
 
   // no need to destroy the stock cursors
 
   // no need to destroy the stock cursors
-  refData->m_destroyCursor = FALSE;
+  // TODO: check this
+  //m_refData->m_destroyCursor = FALSE;
+#endif
 }
 
 wxCursor::~wxCursor()
 }
 
 wxCursor::~wxCursor()