about summary refs log tree commit diff stats
path: root/src/log_dialog.h
blob: c29251f0c839e5084b85009eabfbc4dad667540d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#ifndef LOG_DIALOG_H_EEFD45B6
#define LOG_DIALOG_H_EEFD45B6

#include <wx/wxprec.h>

#ifndef WX_PRECOMP
#include <wx/wx.h>
#endif

wxDECLARE_EVENT(LOG_MESSAGE, wxCommandEvent);

class LogDialog : public wxDialog {
 public:
  explicit LogDialog(wxWindow* parent);

  void LogMessage(const std::string& message);

 private:
  void OnLogMessage(wxCommandEvent& event);

  wxTextCtrl* text_area_;
};

#endif /* end of include guard: LOG_DIALOG_H_EEFD45B6 */