From bcfe0d245aaa5ac4779df10156d5e7000485e2a9 Mon Sep 17 00:00:00 2001 From: xj qian <qianxj15@sina.com> Date: 星期二, 02 七月 2024 11:23:25 +0800 Subject: [PATCH] update face --- jrj/xframe/wobject/xstring.hpp | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/jrj/xframe/wobject/xstring.hpp b/jrj/xframe/wobject/xstring.hpp index 8049037..c65960c 100644 --- a/jrj/xframe/wobject/xstring.hpp +++ b/jrj/xframe/wobject/xstring.hpp @@ -17,12 +17,16 @@ xstring(int val); xstring(double val); - xstring(LPARAM val); + xstring(LPARAM val,bool bdata=false); xstring(wchar_t* val, bool shouldSysFree = false); xstring(const wchar_t* val, bool shouldSysFree = false); ~xstring(); public: + operator LPARAM() + { + return (LPARAM)data; + } operator const wchar_t*() { return c_str(); -- Gitblit v1.9.3