X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0ef5b1dad1f5d18309d0fdc0b36ad383b58f1a2e..2d770c4f8204938933914a961d4142f97ec12f50:/src/os2/cursor.cpp?ds=sidebyside 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());