32 int _Compare(DATALIST_COLTYPE coltype,
const wxString& text1,
const wxString& text2,
bool ascending);
34 wxString _GetTextSpecial(
long index,
int col, DATALIST_COLTYPE typecol);
36 wxColour m_ColourNormal;
38 wxColour m_ColourGrayed;
43 DataListReportCtrl(wxWindow* parent, wxWindowID
id,
const wxPoint& pos = wxDefaultPosition,
44 const wxSize& size = wxDefaultSize,
long style = wxLC_REPORT);
46 bool Create(wxWindow* parent, wxWindowID
id,
const wxPoint& pos = wxDefaultPosition,
47 const wxSize& size = wxDefaultSize,
long style = wxLC_REPORT);
51 long GetSelectedFirst();
53 int GetSelectedAll(wxArrayLong& selected_index);
55 wxString GetText(
long index,
int col = 0);
57 void SetText(
long index,
const wxString& text,
int col = 0);
59 int GetItemColumnImage(
long index,
int col = 0);
61 void SetColumnImage(
int imageindex,
int col);
64 void SortList(
int col,
int lowindex,
int highindex, DATALIST_COLTYPE typecol,
bool ascending =
true);
66 void SwapRow(
int row1,
int row2);
69 wxBitmap CreateArrowDown(
const wxSize& size = wxSize(16, 16));
71 wxBitmap CreateArrowUp(
const wxSize& size = wxSize(16, 16));
73 wxColour GetTextColorNormal() {
74 return m_ColourNormal;
77 wxColour GetTextColorGrayed() {
78 return m_ColourGrayed;