From 0b8444d0eef50d1ee4e0d0b51e174fa5b447d802 Mon Sep 17 00:00:00 2001
From: xj qian <qianxj15@sina.com>
Date: 星期三, 17 七月 2024 17:50:35 +0800
Subject: [PATCH] base code

---
 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..4c0b4da 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=L"")
     {
-        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