Changeset 736
- Timestamp:
- 12/6/2008 3:04:15 AM (4 years ago)
- Location:
- branches/eraser6/ShellExt
- Files:
-
- 2 edited
-
CtxMenu.cpp (modified) (1 diff)
-
CtxMenu.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/eraser6/ShellExt/CtxMenu.cpp
r735 r736 84 84 85 85 namespace Eraser { 86 wchar_t* CCtxMenu::MenuTitle = NULL;87 88 86 HRESULT CCtxMenu::FinalConstruct() 89 87 { 90 88 //Initialise member variables. 91 89 MenuID = 0; 92 if (!MenuTitle) 93 { 94 std::wstring menuTitle(LoadString(IDS_ERASER)); 95 MenuTitle = new wchar_t[menuTitle.length() + 1]; 96 wcscpy_s(MenuTitle, menuTitle.length() + 1, menuTitle.c_str()); 97 } 90 std::wstring menuTitle(LoadString(IDS_ERASER)); 91 MenuTitle = new wchar_t[menuTitle.length() + 1]; 92 wcscpy_s(MenuTitle, menuTitle.length() + 1, menuTitle.c_str()); 98 93 99 94 return S_OK; -
branches/eraser6/ShellExt/CtxMenu.h
r735 r736 88 88 89 89 protected: 90 static wchar_t* MenuTitle; 91 90 wchar_t* MenuTitle; 92 91 InvokeReasons InvokeReason; 93 92 std::wstring DragDropDestinationDirectory;
Note: See TracChangeset
for help on using the changeset viewer.
