Significant makefile changes for supporting Windows builds. Also added some debug...
[jben.git] / frame_kanjipad.h
blob17ffd6960f1ba621bb836c109fdd84a2b1aa802e
1 /*
2 Project: wxKanjiPad
3 Author: Paul Goins
4 License: GNU General Public License (GPL) version 2
5 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt)
7 File: frame_kanjipad.h
9 This file is part of wxKanjiPad, a port of KanjiPad to wxWidgets with
10 some minor additional modifications. It uses and is based off the
11 modified kanjipad source code used in im-ja (http://im-ja.sourceforge.net/).
13 This program is free software; you can redistribute it and/or modify
14 it under the terms of the GNU General Public License as published by
15 the Free Software Foundation; either version 2 of the License, or
16 (at your option) any later version.
18 This program is distributed in the hope that it will be useful,
19 but WITHOUT ANY WARRANTY; without even the implied warranty of
20 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 GNU General Public License for more details.
23 You should have received a copy of the GNU General Public License along
24 with this program; if not, write to the Free Software Foundation, Inc.,
25 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
28 #ifndef frame_kanjipad_h
29 #define frame_kanjipad_h
31 /* Stock wxWidgets includes */
32 #include "wx/wxprec.h"
33 #ifdef __BORLANDC__
34 #pragma hdrstop
35 #endif
36 #ifndef WX_PRECOMP
37 #include "wx/wx.h"
38 #endif
40 #include "wx/listctrl.h"
41 #include "panel_kanjipad.h"
43 class FrameKanjiPad: public wxFrame {
44 public:
45 FrameKanjiPad(wxWindow *owner=(wxWindow *)NULL,
46 wxWindowID id = -1,
47 const wxString& title = _T("wxKanjiPad"),
48 const wxPoint& pos = wxDefaultPosition,
49 const wxSize& size = wxSize(300,350));
50 void OnClose(wxCloseEvent& ev);
51 void OnButtonSearch(wxCommandEvent& ev);
52 void OnButtonClear(wxCommandEvent& ev);
53 void OnKanjiSelected(wxListEvent& ev);
54 private:
55 PanelKanjiPad *pnlKanjiPad;
56 wxListCtrl *lcKanjiSelector;
57 wxButton *btnClear, *btnSearch;
58 DECLARE_EVENT_TABLE()
61 #endif