+ void OnSort(wxCommandEvent& event);
+ void OnSetFgColour(wxCommandEvent& event);
+ void OnSetBgColour(wxCommandEvent& event);
+ void OnToggleMultiSel(wxCommandEvent& event);
+ 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);
+ void OnToggleHeader(wxCommandEvent& event);
+#ifdef __WXOSX__
+ void OnToggleMacUseGeneric(wxCommandEvent& event);
+#endif // __WXOSX__
+ void OnFind(wxCommandEvent& event);
+
+ void OnUpdateUIEnableInReport(wxUpdateUIEvent& event);
+ void OnUpdateToggleMultiSel(wxUpdateUIEvent& event);
+ void OnUpdateToggleHeader(wxUpdateUIEvent& event);
+
+ wxImageList *m_imageListNormal;
+ wxImageList *m_imageListSmall;
+
+ wxPanel *m_panel;
+ MyListCtrl *m_listCtrl;
+ wxTextCtrl *m_logWindow;
+
+private:
+ // recreate the list control with the new flags
+ void RecreateList(long flags, bool withText = true);
+
+ // fill the control with items depending on the view
+ void InitWithListItems();
+ void InitWithReportItems();
+ void InitWithIconItems(bool withText, bool sameIcon = false);
+ void InitWithVirtualItems();
+
+ // return true if the control is not in virtual view, give an error message
+ // and return false if it is
+ bool CheckNonVirtual() const;
+