X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0ef5b1dad1f5d18309d0fdc0b36ad383b58f1a2e..2e14066008229145e2da7b9f05a478ce38631f83:/src/os2/cursor.cpp?ds=inline diff --git a/src/os2/cursor.cpp b/src/os2/cursor.cpp index 7378c885e3..756677c1ca 100644 --- a/src/os2/cursor.cpp +++ b/src/os2/cursor.cpp @@ -21,6 +21,7 @@ #include "wx/app.h" #include "wx/icon.h" #include "wx/image.h" + #include "wx/log.h" #endif #include "wx/os2/private.h" @@ -301,7 +302,7 @@ void wxSetCursor(const wxCursor& cursor) { extern wxCursor *g_globalCursor; - if ( cursor.Ok() && cursor.GetHCURSOR() ) + if ( cursor.IsOk() && cursor.GetHCURSOR() ) { // ::SetCursor((HCURSOR) cursor.GetHCURSOR());