1 /*******************************************************************************
2 TPI - flexible but useless plug-in framework.
3 Copyright (C) 2002-2009 Silky
5 This library is free software; you can redistribute it and/or modify it under
6 the terms of the GNU Lesser General Public License as published by the Free
7 Software Foundation; either version 2.1 of the License, or (at your option)
10 This library is distributed in the hope that it will be useful, but WITHOUT
11 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12 FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License
15 You should have received a copy of the GNU Lesser General Public License along
16 with this library; if not, write to the Free Software Foundation, Inc.,
17 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
19 $Id: cls_listctrl.h,v 1.3 2009/08/20 11:51:49 sirakaba Exp $
20 *******************************************************************************/
22 #ifndef H_LOADED_CLS_LC
23 #define H_LOADED_CLS_LC
25 class myListCtrl: public wxListCtrl
28 virtual wxString OnGetItemText(long, long) const;
29 virtual int OnGetItemImage(long) const;
30 void OnColClick(wxListEvent&);
32 ArrayTPI_FILEINFO showFileInfo;
34 myListCtrl(): wxListCtrl(){}
35 myListCtrl(wxWindow * parent, wxWindowID id, const wxPoint & pos = wxDefaultPosition, const wxSize & size = wxDefaultSize, long style = wxLC_ICON, const wxValidator & validator = wxDefaultValidator, const wxString & name = wxListCtrlNameStr): wxListCtrl(parent, id, pos, size, style, validator, name){}
37 DECLARE_DYNAMIC_CLASS(myListCtrl)
41 int ListCtrlCompareProc(TPI_FILEINFO **, TPI_FILEINFO **);
42 extern wxImageList g_hIconLL, g_hIconLS;
43 extern int g_nSortingColumn;