X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/624d506b58e116aec69cef59a919c60d9cf134cd..b77b87881bae2e6306366d79e7fe160334b3d4a2:/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;