From ca7bfcdac21b765d29d0045308d434dfd038b10c Mon Sep 17 00:00:00 2001
From: xj qian <qianxj15@sina.com>
Date: 星期三, 04 九月 2024 16:16:56 +0800
Subject: [PATCH] update jarch

---
 jrj/xframe/wobject/xwin.hpp |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/jrj/xframe/wobject/xwin.hpp b/jrj/xframe/wobject/xwin.hpp
index 15de5fc..4afb28e 100644
--- a/jrj/xframe/wobject/xwin.hpp
+++ b/jrj/xframe/wobject/xwin.hpp
@@ -11,6 +11,7 @@
 using kcontrol = Hxsoft::XFrame::IXFControl;
 using knode = Hxsoft::XFrame::IXNode;
 
+#define export __declspec(dllexport) 
 #define DeclWinObject_(ty,pty) class __declspec(dllexport) ty :  public pty
 #define CreateWinObject_(ty,pty) \
 public:\
@@ -122,6 +123,11 @@
 		return xnode(getKWin()->SetAgentNodeContent((knode*)node.getNativePointer(), (knode*)val.getNativePointer()));
 	}
 
+	Hxsoft::XFrame::IXPage* GetXPage()
+	{
+		return getKWin()->GetXPage();
+	}
+
 	LPARAM GetWinParam()
 	{
 		return (LPARAM)getKWin()->GetParam();

--
Gitblit v1.9.3