X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4676948b6814c97b93c431a8cbcd8c0352c87ba9..98af9c738332c9a24475ad19efbfabe2b152c429:/src/msw/ole/dropsrc.cpp?ds=sidebyside diff --git a/src/msw/ole/dropsrc.cpp b/src/msw/ole/dropsrc.cpp index c0ea443752..7b66b0c350 100644 --- a/src/msw/ole/dropsrc.cpp +++ b/src/msw/ole/dropsrc.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "dropsrc.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" @@ -57,6 +53,7 @@ class wxIDropSource : public IDropSource { public: wxIDropSource(wxDropSource *pDropSource); + virtual ~wxIDropSource() { } DECLARE_IUNKNOWN_METHODS; @@ -68,7 +65,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) + DECLARE_NO_COPY_CLASS(wxIDropSource) }; // ============================================================================ @@ -241,11 +238,11 @@ bool wxDropSource::GiveFeedback(wxDragResult effect) { ::SetCursor((HCURSOR)cursor.GetHCURSOR()); - return TRUE; + return true; } else { - return FALSE; + return false; } }