diff src/GvimExt/gvimext.h @ 6805:81cb471657e0 v7.4.724

patch 7.4.724 Problem: Vim icon does not show in Windows context menu. (issue 249) Solution: Load the icon in GvimExt.
author Bram Moolenaar <bram@vim.org>
date Mon, 04 May 2015 18:27:36 +0200
parents a0cce15dd2a9
children 1e48ffa2d697
line wrap: on
line diff
--- a/src/GvimExt/gvimext.h
+++ b/src/GvimExt/gvimext.h
@@ -110,10 +110,14 @@ typedef CShellExtClassFactory *LPCSHELLE
 class CShellExt : public IContextMenu,
 			 IShellExtInit
 {
+private:
+    BOOL LoadMenuIcon();
+
 protected:
     ULONG	 m_cRef;
     LPDATAOBJECT m_pDataObj;
     UINT	 m_edit_existing_off;
+    HBITMAP	 m_hVimIconBitmap;
 
     // For some reason, this callback must be static
     static BOOL CALLBACK EnumWindowsProc(HWND hWnd, LPARAM lParam);