/*
 * This file is part of the Code::Blocks IDE and licensed under the GNU Lesser General Public License, version 3
 * http://www.gnu.org/licenses/lgpl-3.0.html
 */

#ifndef CPPCHECKLISTLOG_H
#define CPPCHECKLISTLOG_H

#include <wx/event.h>
#include "loggers.h"

class wxArrayString;
class wxArrayInt;
class wxCommandEvent;
class wxWindow;

class CppCheckListLog : public ListCtrlLogger, public wxEvtHandler
{
public:
	CppCheckListLog(const wxArrayString& Titles, wxArrayInt& Widths);
	~CppCheckListLog();
	wxWindow* CreateControl(wxWindow* Parent);

private:
	void OnDoubleClick(wxCommandEvent& Event);
	void SyncEditor(int selIndex);

	DECLARE_EVENT_TABLE()
};

#endif // CPPCHECKLISTLOG_H
