From f5f28b8847fea28a01b2ae148eba9c9cd029524e Mon Sep 17 00:00:00 2001
From: LiFan <2308045698@qq.com>
Date: 星期一, 01 七月 2024 14:58:08 +0800
Subject: [PATCH] update GDN
---
jrj/xframe/vbusiness/vframe/frame.vframe.vbusiness.hpp | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/jrj/xframe/vbusiness/vframe/frame.vframe.vbusiness.hpp b/jrj/xframe/vbusiness/vframe/frame.vframe.vbusiness.hpp
index 595ffb9..dc9398a 100644
--- a/jrj/xframe/vbusiness/vframe/frame.vframe.vbusiness.hpp
+++ b/jrj/xframe/vbusiness/vframe/frame.vframe.vbusiness.hpp
@@ -483,13 +483,13 @@
if (content ==L"") return 1;
if (content.find(L"update.modify", 0) > 0 || content.find(L"update.delete", 0) > 0)
{
- int MB_YESNOCANCEL = 3;
- int IDYES = 6;
- int IDNO = 7;
- int IDCANCEL = 2;
- int re = MessageBoxW(GetHWND(),L"数据已经修改,是否保存?",L"提示:", MB_YESNOCANCEL);
- if (re == IDCANCEL) return -1;
- if (re == IDNO) return 1;
+ int MB_YESNOCANCEL_ = 3;
+ int IDYES_ = 6;
+ int IDNO_ = 7;
+ int IDCANCEL_ = 2;
+ int re = MessageBoxW(GetHWND(),L"数据已经修改,是否保存?",L"提示:", MB_YESNOCANCEL_);
+ if (re == IDCANCEL_) return -1;
+ if (re == IDNO_) return 1;
if (DoUpdate(false) == 1) return 1;
return -1;
}
--
Gitblit v1.9.3