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/xcontrol/xdwgrid.hpp | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/jrj/xframe/xcontrol/xdwgrid.hpp b/jrj/xframe/xcontrol/xdwgrid.hpp index 254e5ff..11f7f9c 100644 --- a/jrj/xframe/xcontrol/xdwgrid.hpp +++ b/jrj/xframe/xcontrol/xdwgrid.hpp @@ -270,9 +270,9 @@ return getKReport()->GetTitleName(col); } public: - int SetRowSort(LPTSTR colName, bool colOrder = true) + int SetRowSort(LPCTSTR colName, bool colOrder = true) { - return getKReport()->SetRowSort(colName, colOrder); + return getKReport()->SetRowSort((LPTSTR)colName, colOrder); } int SetClickEditFlag(bool f) { -- Gitblit v1.9.3