4 License: GNU General Public License (GPL) version 2
5 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt)
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"
40 #include "wx/listctrl.h"
41 #include "panel_kanjipad.h"
43 class FrameKanjiPad
: public wxFrame
{
45 FrameKanjiPad(wxWindow
*owner
=(wxWindow
*)NULL
,
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
);
55 PanelKanjiPad
*pnlKanjiPad
;
56 wxListCtrl
*lcKanjiSelector
;
57 wxButton
*btnClear
, *btnSearch
;