]> git.saurik.com Git - wxWidgets.git/commitdiff
don't use deprecated symbols
authorVáclav Slavík <vslavik@fastmail.fm>
Fri, 31 Oct 2003 15:16:25 +0000 (15:16 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Fri, 31 Oct 2003 15:16:25 +0000 (15:16 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24372 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/cursor.cpp

index e36d2f91ffeb9af95ce6c1ea8b48cd508d6abfee..c8e43a4d489f5ed95c4a9e49523fc18adc167baf 100644 (file)
@@ -179,8 +179,8 @@ wxCursor::wxCursor(const wxImage& image)
     const int w = wxCursorRefData::GetStandardWidth();
     const int h = wxCursorRefData::GetStandardHeight();
 
-    const int hotSpotX = image.GetOptionInt(wxCUR_HOTSPOT_X);
-    const int hotSpotY = image.GetOptionInt(wxCUR_HOTSPOT_Y);
+    const int hotSpotX = image.GetOptionInt(wxIMAGE_OPTION_CUR_HOTSPOT_X);
+    const int hotSpotY = image.GetOptionInt(wxIMAGE_OPTION_CUR_HOTSPOT_Y);
 
     wxASSERT_MSG( hotSpotX >= 0 && hotSpotX < w &&
                     hotSpotY >= 0 && hotSpotY < h,