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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user