X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cc11ded1ae65fb38d6ff7a5483c6c27ea3471bfa..b1c6a00e631be013b9dc3eb43959c80369a99e56:/src/msw/ole/dropsrc.cpp diff --git a/src/msw/ole/dropsrc.cpp b/src/msw/ole/dropsrc.cpp index 7b66b0c350..91dcb37866 100644 --- a/src/msw/ole/dropsrc.cpp +++ b/src/msw/ole/dropsrc.cpp @@ -1,5 +1,5 @@ /////////////////////////////////////////////////////////////////////////////// -// Name: msw/ole/dropsrc.cpp +// Name: src/msw/ole/dropsrc.cpp // Purpose: implementation of wxIDropSource and wxDropSource // Author: Vadim Zeitlin // Modified by: @@ -23,12 +23,11 @@ #if defined(__BORLANDC__) #pragma hdrstop #endif + #ifndef WX_PRECOMP -#include "wx/window.h" + #include "wx/window.h" #endif -#include "wx/setup.h" - #if wxUSE_OLE && wxUSE_DRAG_AND_DROP #include "wx/log.h" @@ -55,12 +54,12 @@ public: wxIDropSource(wxDropSource *pDropSource); virtual ~wxIDropSource() { } - DECLARE_IUNKNOWN_METHODS; - // IDropSource STDMETHODIMP QueryContinueDrag(BOOL fEscapePressed, DWORD grfKeyState); STDMETHODIMP GiveFeedback(DWORD dwEffect); + DECLARE_IUNKNOWN_METHODS; + private: DWORD m_grfInitKeyState; // button which started the d&d operation wxDropSource *m_pDropSource; // pointer to C++ class we belong to