From a4afdcf3424e84538bb5105604aad0dbc97eeeaf Mon Sep 17 00:00:00 2001 From: Francesco Montorsi Date: Sat, 16 May 2009 13:24:33 +0000 Subject: [PATCH] fix typo from previous commit git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/gtk/cursor.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); -- 2.50.0