]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/cursor.cpp
wxGetFullHostName() implemented - it doesn't work though (and won't even
[wxWidgets.git] / src / msw / cursor.cpp
index 8886f56b8c50e56ee021f1348a0d0680ef82c5b3..d3e67418a98a7ec8c54e8f93aa594c9a01a46658 100644 (file)
@@ -54,7 +54,11 @@ wxCursorRefData::wxCursorRefData(void)
 wxCursorRefData::~wxCursorRefData(void)
 {
     if ( m_hCursor && m_destroyCursor)
+#ifdef __WXWINE__
+        ::DestroyCursor((HCURSOR) m_hCursor);
+#else
         ::DestroyCursor((HICON) m_hCursor);
+#endif
 }
 
 // Cursors