compilation fix for WXWIN_COMPATIBILITY_2 == 1

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19127 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2003-02-06 00:51:15 +00:00
parent 895066d8c8
commit 83911a5a4d

View File

@ -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
}
}