document column reordering in wxListCtrl; fix confusion between GetColumnOrder() and GetColumnIndexFromOrder() doing this discovered; show the use of these methods in the sample and added a unit test for them
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56985 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -136,6 +136,10 @@ protected:
|
||||
void OnShowColInfo(wxCommandEvent& event);
|
||||
void OnShowSelInfo(wxCommandEvent& event);
|
||||
void OnShowViewRect(wxCommandEvent& event);
|
||||
#ifdef wxHAS_LISTCTRL_COLUMN_ORDER
|
||||
void OnSetColOrder(wxCommandEvent& event);
|
||||
void OnGetColOrder(wxCommandEvent& event);
|
||||
#endif // wxHAS_LISTCTRL_COLUMN_ORDER
|
||||
void OnFreeze(wxCommandEvent& event);
|
||||
void OnThaw(wxCommandEvent& event);
|
||||
void OnToggleLines(wxCommandEvent& event);
|
||||
@@ -204,6 +208,10 @@ enum
|
||||
LIST_SHOW_COL_INFO,
|
||||
LIST_SHOW_SEL_INFO,
|
||||
LIST_SHOW_VIEW_RECT,
|
||||
#ifdef wxHAS_LISTCTRL_COLUMN_ORDER
|
||||
LIST_SET_COL_ORDER,
|
||||
LIST_GET_COL_ORDER,
|
||||
#endif // wxHAS_LISTCTRL_COLUMN_ORDER
|
||||
LIST_GOTO,
|
||||
LIST_FOCUS_LAST,
|
||||
LIST_FREEZE,
|
||||
|
Reference in New Issue
Block a user