don't use deprecated symbols

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24372 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2003-10-31 15:16:25 +00:00
parent dfcb9d7caf
commit 1a97976a45

View File

@@ -179,8 +179,8 @@ wxCursor::wxCursor(const wxImage& image)
const int w = wxCursorRefData::GetStandardWidth();
const int h = wxCursorRefData::GetStandardHeight();
const int hotSpotX = image.GetOptionInt(wxCUR_HOTSPOT_X);
const int hotSpotY = image.GetOptionInt(wxCUR_HOTSPOT_Y);
const int hotSpotX = image.GetOptionInt(wxIMAGE_OPTION_CUR_HOTSPOT_X);
const int hotSpotY = image.GetOptionInt(wxIMAGE_OPTION_CUR_HOTSPOT_Y);
wxASSERT_MSG( hotSpotX >= 0 && hotSpotX < w &&
hotSpotY >= 0 && hotSpotY < h,