X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f20ad12c585a0bca3b2de19fe5a4b6cb89de21c6..1246e28fb0601a0476d2cf71bde8d7550b74d11e:/src/msw/cursor.cpp diff --git a/src/msw/cursor.cpp b/src/msw/cursor.cpp index 756308ebd2..09ab2ba32e 100644 --- a/src/msw/cursor.cpp +++ b/src/msw/cursor.cpp @@ -52,7 +52,7 @@ // wxWin macros // ---------------------------------------------------------------------------- -IMPLEMENT_DYNAMIC_CLASS(wxCursor, wxCursorBase) +IMPLEMENT_DYNAMIC_CLASS(wxCursor, wxGDIObject) // ---------------------------------------------------------------------------- // globals @@ -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()