#ifndef LOG_DIALOG_H_EEFD45B6 #define LOG_DIALOG_H_EEFD45B6 #include #ifndef WX_PRECOMP #include #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 */