fix typo from previous commit

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Francesco Montorsi
2009-05-16 13:24:33 +00:00
parent df344ba9df
commit a4afdcf342

View File

@@ -74,9 +74,9 @@ wxCursor::wxCursor(const wxString& cursor_file,
return;
// eventually set the hotspot:
if (!image.HasOption(wxIMAGE_OPTION_CUR_HOTSPOT_X))
if (!img.HasOption(wxIMAGE_OPTION_CUR_HOTSPOT_X))
img.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_X, hotSpotX);
if (!image.HasOption(wxIMAGE_OPTION_CUR_HOTSPOT_Y))
if (!img.HasOption(wxIMAGE_OPTION_CUR_HOTSPOT_Y))
img.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_Y, hotSpotY);
InitFromImage(img);