X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/624d506b58e116aec69cef59a919c60d9cf134cd..163dc80eff2faed2c3c1fb3ee6b46eb5ae9d70f9:/src/gtk/cursor.cpp?ds=sidebyside diff --git a/src/gtk/cursor.cpp b/src/gtk/cursor.cpp index 54bd0e23a3..4360b9748d 100644 --- a/src/gtk/cursor.cpp +++ b/src/gtk/cursor.cpp @@ -268,13 +268,13 @@ wxCursor::wxCursor( const wxImage & image ) int hotSpotX; int hotSpotY; - if (image.HasOption(wxCUR_HOTSPOT_X)) - hotSpotX = image.GetOptionInt(wxCUR_HOTSPOT_X); + if (image.HasOption(wxIMAGE_OPTION_CUR_HOTSPOT_X)) + hotSpotX = image.GetOptionInt(wxIMAGE_OPTION_CUR_HOTSPOT_X); else hotSpotX = 0; - if (image.HasOption(wxCUR_HOTSPOT_Y)) - hotSpotY = image.GetOptionInt(wxCUR_HOTSPOT_Y); + if (image.HasOption(wxIMAGE_OPTION_CUR_HOTSPOT_Y)) + hotSpotY = image.GetOptionInt(wxIMAGE_OPTION_CUR_HOTSPOT_Y); else hotSpotY = 0;