X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e4db172a3b318df9aff178eb6c5da149d56e0859..5e3e62bc6e77477573d3c6b36b71e96d2601a27c:/src/msw/ole/dropsrc.cpp?ds=sidebyside diff --git a/src/msw/ole/dropsrc.cpp b/src/msw/ole/dropsrc.cpp index 90f89d419e..9118eecef8 100644 --- a/src/msw/ole/dropsrc.cpp +++ b/src/msw/ole/dropsrc.cpp @@ -64,7 +64,7 @@ private: DWORD m_grfInitKeyState; // button which started the d&d operation wxDropSource *m_pDropSource; // pointer to C++ class we belong to - DECLARE_NO_COPY_CLASS(wxIDropSource) + wxDECLARE_NO_COPY_CLASS(wxIDropSource); }; // ============================================================================ @@ -233,7 +233,7 @@ wxDragResult wxDropSource::DoDragDrop(int flags) bool wxDropSource::GiveFeedback(wxDragResult effect) { const wxCursor& cursor = GetCursor(effect); - if ( cursor.Ok() ) + if ( cursor.IsOk() ) { ::SetCursor((HCURSOR)cursor.GetHCURSOR());