Note: This website is archived. For up-to-date information about D projects and development, please visit wiki.dlang.org.

Ticket #21 (closed defect: fixed)

Opened 14 years ago

Last modified 14 years ago

dwt-win patch for dmd 1.049 and later

Reported by: torhu Assigned to: keinfarbton
Priority: major Milestone:
Component: DWT-Win Version:
Keywords: Cc: torhu@yahoo.com

Description

This makes dwt-win build with dmd 1.049 and later. Patch against r399.

diff -r 210994f12c4c dwt/ole/win32/OleClientSite.d
--- a/dwt/ole/win32/OleClientSite.d	Sat Mar 28 03:12:07 2009 +0100
+++ b/dwt/ole/win32/OleClientSite.d	Sun Nov 08 01:52:47 2009 +0100
@@ -1356,11 +1356,11 @@
     ULONG Release() { return parent.Release(); }
 
     // interface of IAdviseSink
-    void OnDataChange(FORMATETC *pFormatetc,STGMEDIUM *pStgmed) {return COM.S_OK; }
-    void OnViewChange(DWORD dwAspect, LONG lindex) {return COM.S_OK; }
-    void OnRename(IMoniker pmk) {return COM.S_OK; }
-    void OnSave() {return COM.S_OK; }
-    void OnClose() {return COM.S_OK; }
+    void OnDataChange(FORMATETC *pFormatetc,STGMEDIUM *pStgmed) { }
+    void OnViewChange(DWORD dwAspect, LONG lindex) { }
+    void OnRename(IMoniker pmk) { }
+    void OnSave() { }
+    void OnClose() { }
 }
 
 class _IOleClientSiteImpl : IOleClientSite {

Change History

11/08/09 11:30:48 changed by keinfarbton

  • status changed from new to closed.
  • resolution set to fixed.

The changes are applied. Thanks Torhu