#pragma hdrstop
#endif
+#if wxUSE_OLE && wxUSE_DRAG_AND_DROP
+
#ifndef WX_PRECOMP
#include "wx/window.h"
+ #include "wx/log.h"
#endif
-#if wxUSE_OLE && wxUSE_DRAG_AND_DROP
-
-#include "wx/log.h"
#include "wx/dnd.h"
#include "wx/msw/private.h"
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
}
}
-#endif //USE_DRAG_AND_DROP
+#endif // wxUSE_OLE && wxUSE_DRAG_AND_DROP