From d79b1d94a13536a74d8a72caab3a1ed3c9e2e840 Mon Sep 17 00:00:00 2001
From: xj qian <qianxj15@sina.com>
Date: 星期一, 01 七月 2024 14:57:39 +0800
Subject: [PATCH] bug createinstance less static
---
jrj/project/start.vframe.vbusiness.cpp | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/jrj/project/start.vframe.vbusiness.cpp b/jrj/project/start.vframe.vbusiness.cpp
index 3d156d8..9ac9f36 100644
--- a/jrj/project/start.vframe.vbusiness.cpp
+++ b/jrj/project/start.vframe.vbusiness.cpp
@@ -14,8 +14,7 @@
public:
static startvframevbusiness * CreateInstance(void* implPtr,void* hWnd)
{
- startvframevbusiness* pWin = new startvframevbusiness(implPtr,(HWND)hWnd);
- return pWin;
+ return new startvframevbusiness(implPtr,(HWND)hWnd);
}
public:
int OnCmdDispatch(const wchar_t* comd)
--
Gitblit v1.9.3