X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6a50a2c4d3b39901947b68c81973016d56da75e1..2e14066008229145e2da7b9f05a478ce38631f83:/src/mgl/window.cpp?ds=sidebyside diff --git a/src/mgl/window.cpp b/src/mgl/window.cpp index aad3ea0e6b..ec655b4ebd 100644 --- a/src/mgl/window.cpp +++ b/src/mgl/window.cpp @@ -659,7 +659,7 @@ void wxWindowMGL::SetMGLwindow_t(struct window_t *wnd) MGL_wmPushWindowEventHandler(m_wnd, wxWindowMouseHandler, EVT_MOUSEEVT, 0); MGL_wmPushWindowEventHandler(m_wnd, wxWindowKeybHandler, EVT_KEYEVT, 0); - if ( m_cursor.Ok() ) + if ( m_cursor.IsOk() ) MGL_wmSetWindowCursor(m_wnd, *m_cursor.GetMGLCursor()); else MGL_wmSetWindowCursor(m_wnd, *wxSTANDARD_CURSOR->GetMGLCursor()); @@ -822,7 +822,7 @@ bool wxWindowMGL::SetCursor(const wxCursor& cursor) return false; } - if ( m_cursor.Ok() ) + if ( m_cursor.IsOk() ) MGL_wmSetWindowCursor(m_wnd, *m_cursor.GetMGLCursor()); else MGL_wmSetWindowCursor(m_wnd, *wxSTANDARD_CURSOR->GetMGLCursor());