LiFan
2025-04-16 a0eb317d8e9a4aa9c5a7cab23c90dc9862c981b1
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)
    {