X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ea2807a4c4a0949ff78503ec86ec20a2d238a1f3..47e175a24f862aa8b7ca7dd4a2bb5957991e7f2d:/src/osx/carbon/cursor.cpp?ds=sidebyside diff --git a/src/osx/carbon/cursor.cpp b/src/osx/carbon/cursor.cpp index 995e08b846..fba9efb8f5 100644 --- a/src/osx/carbon/cursor.cpp +++ b/src/osx/carbon/cursor.cpp @@ -527,7 +527,7 @@ wxCursor::wxCursor(const wxString& cursor_file, wxBitmapType flags, int hotSpotX #if wxUSE_IMAGE wxImage image ; image.LoadFile( cursor_file, flags ) ; - if ( image.Ok() ) + if ( image.IsOk() ) { image.SetOption( wxIMAGE_OPTION_CUR_HOTSPOT_X, hotSpotX ) ; image.SetOption( wxIMAGE_OPTION_CUR_HOTSPOT_Y, hotSpotY ) ;