5 * Created by Toshi Nagata on 08/10/27.
6 * Copyright 2008 Toshi Nagata. All rights reserved.
8 This program is free software; you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation version 2 of the License.
12 This program is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
18 #ifndef __ConsoleFrame_h__
19 #define __ConsoleFrame_h__
22 //#include "wx/richtext/richtextctrl.h"
23 #include "wx/textctrl.h"
27 class ConsoleFrame: public wxMDIChildFrame
32 wxMenu *file_history_menu;
35 ConsoleFrame(wxMDIParentFrame *parent, const wxString& title, const wxPoint& pos, const wxSize& size, long type);
36 virtual ~ConsoleFrame();
39 void OnEnterPressed(wxKeyEvent& event);
40 void OnKeyDown(wxKeyEvent &event);
42 static ConsoleFrame *CreateConsoleFrame(wxMDIParentFrame *parent);
43 void OnCloseWindow(wxCloseEvent &event);
44 void OnClose(wxCommandEvent &event);
45 void OnUpdateUI(wxUpdateUIEvent& event);
47 void OnCut(wxCommandEvent &event);
48 void OnCopy(wxCommandEvent &event);
49 void OnPaste(wxCommandEvent &event);
50 void OnClear(wxCommandEvent &event);
56 #endif /* __ConsoleFrame_h__ */