From 5f5f04da3e12f46244ead34b5085fa29c0f217b6 Mon Sep 17 00:00:00 2001
From: LiFan <2308045698@qq.com>
Date: 星期三, 26 六月 2024 18:36:01 +0800
Subject: [PATCH] 代码提交

---
 jrj/xframe/xcontrol/ximageview.hpp |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/jrj/xframe/xcontrol/ximageview.hpp b/jrj/xframe/xcontrol/ximageview.hpp
index df45f8e..7fa1841 100644
--- a/jrj/xframe/xcontrol/ximageview.hpp
+++ b/jrj/xframe/xcontrol/ximageview.hpp
@@ -15,13 +15,13 @@
         return (kimageview*)getNativePointer();
     }
 public:
-    int AddImages(LPCTSTR pUrl, LPTSTR pText=NULL)
+    int AddImages(LPCTSTR pUrl, LPCTSTR pText=NULL)
     {
-        return GetKImageView()->AddImages(pUrl, pText);
+        return GetKImageView()->AddImages(pUrl, (LPTSTR)pText);
     }
-    int InsertImages(LPCTSTR pUrl, LPTSTR pText, int nIndex)
+    int InsertImages(LPCTSTR pUrl, LPCTSTR pText, int nIndex)
     {
-        return GetKImageView()->InsertImages(pUrl, pText,nIndex);
+        return GetKImageView()->InsertImages(pUrl,(LPTSTR)pText,nIndex);
     }
     int RemoveImage(int nIndex)
     {

--
Gitblit v1.9.3