2 /// \file MemoEditDlg.h
3 /// Dialog class to handle the editing of the Memo record
7 Copyright (C) 2012, Net Direct Inc. (http://www.netdirect.ca/)
9 This program is free software; you can redistribute it and/or modify
10 it under the terms of the GNU General Public License as published by
11 the Free Software Foundation; either version 2 of the License, or
12 (at your option) any later version.
14 This program is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
18 See the GNU General Public License in the COPYING file at the
19 root directory of this project for more details.
22 #ifndef __BARRYDESKTOP_MEMO_EDIT_DLG_H__
23 #define __BARRYDESKTOP_MEMO_EDIT_DLG_H__
26 #include "StringSync.h"
28 #include <barry/barry.h>
29 // begin wxGlade: ::dependencies
33 // begin wxGlade: ::extracode
37 class MemoEditDlg
: public wxDialog
41 std::string m_category_list
;
44 // begin wxGlade: MemoEditDlg::methods
45 void set_properties();
50 // begin wxGlade: MemoEditDlg::attributes
51 wxStaticText
* label_1
;
52 wxTextCtrl
* text_ctrl_2
;
53 wxStaticText
* label_2
;
54 wxTextCtrl
* text_ctrl_3
;
55 wxTextCtrl
* text_ctrl_1
;
58 wxSizer
*bottom_buttons
;
61 // begin wxGlade: MemoEditDlg::ids
64 MemoEditDlg(wxWindow
* parent
, Barry::Memo
&rec
, bool editable
);
66 // in case any validation is required:
67 virtual bool TransferDataFromWindow();
68 }; // wxGlade: end class
71 #endif // MEMOEDITDLG_H