+#if USE_CONTEXT_MENU
+ void OnContextMenu(wxContextMenuEvent& event);
+#endif
+
+ void OnRightClick(wxMouseEvent& event);
+
+private:
+ void ShowContextMenu(const wxPoint& pos);
+ wxLog *m_logOld;
+ void SetColumnImage(int col, int image);
+
+ void LogEvent(const wxListEvent& event, const wxChar *eventName);
+ void LogColEvent(const wxListEvent& event, const wxChar *eventName);
+
+ virtual wxString OnGetItemText(long item, long column) const;
+ virtual int OnGetItemColumnImage(long item, long column) const;
+ virtual wxListItemAttr *OnGetItemAttr(long item) const;
+
+ wxListItemAttr m_attr;
+
+ DECLARE_NO_COPY_CLASS(MyListCtrl)