From: Vadim Zeitlin Date: Thu, 6 Feb 2003 00:51:15 +0000 (+0000) Subject: compilation fix for WXWIN_COMPATIBILITY_2 == 1 X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/83911a5a4d3be63141419b4401259093514794a3 compilation fix for WXWIN_COMPATIBILITY_2 == 1 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19127 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/msw/cursor.cpp b/src/msw/cursor.cpp index f1bbdb1336..4ccdedbe1e 100644 --- a/src/msw/cursor.cpp +++ b/src/msw/cursor.cpp @@ -368,7 +368,7 @@ wxCursor::wxCursor(const wxString& filename, m_refData = new wxCursorRefData(hcursor, true /* delete it later */); #if WXWIN_COMPATIBILITY_2 - refData->SetOk(); + ((wxCursorRefData *)m_refData)->SetOk(); #endif // WXWIN_COMPATIBILITY_2 } }