X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/771a855fb9e586d34b7d678427059b3b5b1bb440..6556acfa567537d0c1260dd4c40023c64dbe8882:/src/msw/cursor.cpp diff --git a/src/msw/cursor.cpp b/src/msw/cursor.cpp index 0fda188e92..d84d6c2aa4 100644 --- a/src/msw/cursor.cpp +++ b/src/msw/cursor.cpp @@ -96,7 +96,7 @@ wxCursorRefData::wxCursorRefData() m_width = 32; m_height = 32; - refData->m_destroyCursor = TRUE; + m_destroyCursor = TRUE; } void wxCursorRefData::Free() @@ -315,10 +315,11 @@ wxCursor::wxCursor(int cursor_type) refData->m_hCursor = (WXHCURSOR) LoadCursor((HINSTANCE) NULL, IDC_ARROW); break; } -#endif // no need to destroy the stock cursors - refData->m_destroyCursor = FALSE; + // TODO: check this + //m_refData->m_destroyCursor = FALSE; +#endif } wxCursor::~wxCursor()