xj qian
2024-07-10 8ba7edaebd4f619e95ca8cd2942cfef1fbb34327
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)
    {