From 314c07b152f9973d90cef3e99fa299db5bb1c2df Mon Sep 17 00:00:00 2001
From: LiFan <2308045698@qq.com>
Date: 星期四, 27 六月 2024 22:50:10 +0800
Subject: [PATCH] update SO
---
jrj/project/vindexmenu.cpp | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/jrj/project/vindexmenu.cpp b/jrj/project/vindexmenu.cpp
index 6e711c9..0f135ac 100644
--- a/jrj/project/vindexmenu.cpp
+++ b/jrj/project/vindexmenu.cpp
@@ -458,9 +458,9 @@
int OnInitial()
{
- if(GetParam())
+ if(GetWinParam())
{
- xaserverarg& arg = *(xaserverarg*)GetParam();
+ xaserverarg arg = GetArg();
m_nHwnd = (HWND)arg.GetParam(L"hwnd");
cbx_menu = (void*)arg.GetParam(L"memuId");
cbx_tab = (void*)arg.GetParam(L"tabNo");
@@ -475,6 +475,8 @@
int onload()
{
+ SetArg();
+
m_bCanDestroy = 1;
tv_menu1 = GetControl(L"menu1");
--
Gitblit v1.9.3