Code::Blocks  SVN r11506
searchresultslog.h
Go to the documentation of this file.
1 /*
2  * This file is part of the Code::Blocks IDE and licensed under the GNU Lesser General Public License, version 3
3  * http://www.gnu.org/licenses/lgpl-3.0.html
4  */
5 
6 #ifndef CB_SEARCHRESULTSLOG_H
7 #define CB_SEARCHRESULTSLOG_H
8 
9 #include <wx/string.h>
10 #include "loggers.h"
11 
12 class wxArrayString;
13 class wxCommandEvent;
14 
16 {
17  public:
18  cbSearchResultsLog(const wxArrayString& titles, wxArrayInt& widths);
19  ~cbSearchResultsLog() override;
20  void FocusEntry(size_t index);
21  void SetBasePath(const wxString base){ m_Base = base; }
22 
23  wxWindow* CreateControl(wxWindow* parent) override;
24  protected:
25  void OnDoubleClick(wxCommandEvent& event);
26  void SyncEditor(int selIndex);
27 
29  private:
30  DECLARE_EVENT_TABLE()
31 };
32 
33 #endif // CB_SEARCHRESULTSLOG_H
a logger which prints messages to a wxListCtrl
Definition: loggers.h:120
void SetBasePath(const wxString base)
#define DLLIMPORT
Definition: settings.h:16
wxWindow * CreateControl(wxWindow *parent) override
Definition: loggers.cpp:405
wxArray< int > wxArrayInt