]> git.saurik.com Git - wxWidgets.git/commitdiff
Compilation fix.
authorMattia Barbon <mbarbon@cpan.org>
Sun, 2 Nov 2003 15:40:21 +0000 (15:40 +0000)
committerMattia Barbon <mbarbon@cpan.org>
Sun, 2 Nov 2003 15:40:21 +0000 (15:40 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24398 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/motif/cursor.cpp

index dfcb9fbbc11d55f56fe8abbf2f1d5d9ad346453b..024e67d2ac3fb1eda65342f65d15e9f6eab5ec42 100644 (file)
@@ -143,13 +143,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;