From 88a84b6f0460587406073594d5257479dddcecca Mon Sep 17 00:00:00 2001 From: Nick Bolton Date: Fri, 7 Feb 2014 14:23:17 +0000 Subject: [PATCH] fixed: drag and drop crashes windows - reintroduced empty function to stop not impl exception. --- src/lib/platform/CMSWindowsScreen.cpp | 7 +++++++ src/lib/platform/CMSWindowsScreen.h | 1 + 2 files changed, 8 insertions(+) diff --git a/src/lib/platform/CMSWindowsScreen.cpp b/src/lib/platform/CMSWindowsScreen.cpp index 1d1c3585..da0bb7cb 100644 --- a/src/lib/platform/CMSWindowsScreen.cpp +++ b/src/lib/platform/CMSWindowsScreen.cpp @@ -1888,6 +1888,13 @@ CMSWindowsScreen::CHotKeyItem::operator<(const CHotKeyItem& x) const (m_keycode == x.m_keycode && m_mask < x.m_mask)); } +void +CMSWindowsScreen::fakeDraggingFiles(CString str) +{ + // possible design flaw: this function stops a "not implemented" + // exception from being thrown. +} + CString& CMSWindowsScreen::getDraggingFileDir() { diff --git a/src/lib/platform/CMSWindowsScreen.h b/src/lib/platform/CMSWindowsScreen.h index 84b0c314..ed7957e1 100644 --- a/src/lib/platform/CMSWindowsScreen.h +++ b/src/lib/platform/CMSWindowsScreen.h @@ -115,6 +115,7 @@ public: virtual void setOptions(const COptionsList& options); virtual void setSequenceNumber(UInt32); virtual bool isPrimary() const; + virtual void fakeDraggingFiles(CString str); virtual CString& getDraggingFileDir(); virtual const CString& getDropTarget() const;