From: Francesco Montorsi Date: Sat, 16 May 2009 13:24:33 +0000 (+0000) Subject: fix typo from previous commit X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/a4afdcf3424e84538bb5105604aad0dbc97eeeaf fix typo from previous commit git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/gtk/cursor.cpp b/src/gtk/cursor.cpp index a939e16fe4..9a71c3cc2a 100644 --- a/src/gtk/cursor.cpp +++ b/src/gtk/cursor.cpp @@ -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);