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:
@@ -368,7 +368,7 @@ wxCursor::wxCursor(const wxString& filename,
|
|||||||
m_refData = new wxCursorRefData(hcursor, true /* delete it later */);
|
m_refData = new wxCursorRefData(hcursor, true /* delete it later */);
|
||||||
|
|
||||||
#if WXWIN_COMPATIBILITY_2
|
#if WXWIN_COMPATIBILITY_2
|
||||||
refData->SetOk();
|
((wxCursorRefData *)m_refData)->SetOk();
|
||||||
#endif // WXWIN_COMPATIBILITY_2
|
#endif // WXWIN_COMPATIBILITY_2
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user