]> git.saurik.com Git - wxWidgets.git/commitdiff
fix typo from previous commit
authorFrancesco Montorsi <f18m_cpp217828@yahoo.it>
Sat, 16 May 2009 13:24:33 +0000 (13:24 +0000)
committerFrancesco Montorsi <f18m_cpp217828@yahoo.it>
Sat, 16 May 2009 13:24:33 +0000 (13:24 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/gtk/cursor.cpp

index a939e16fe4be5318c3c02dbd3b83cf9b5f86291b..9a71c3cc2a1ddc2f99c2e85cef86aace04ceb8d9 100644 (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);