Debian Codegraph @

src/plugins/contrib/wxSmithSTC/wxsSTEditor.h

raw
1 /*
2 * This file is part of wxSmith plugin for Code::Blocks Studio
3 * Copyright (C) 2006-2007 Bartlomiej Swiecki
4 *
5 * wxSmith is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 3 of the License, or
8 * (at your option) any later version.
9 *
10 * wxSmith is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with wxSmith. If not, see <http://www.gnu.org/licenses/>.
17 *
18 */
19
20 #ifndef wxsSTEDITOR_H
21 #define wxsSTEDITOR_H
22
23 #include <wxswidget.h>
24 #include <wxsitemresdata.h>
25 #include <wxsarraystringproperty.h>
26 #include <wxsenumproperty.h>
27 #include <wxsboolproperty.h>
28 #include <wxsbaseproperties.h>
29 #include <wxspositionsizeproperty.h>
30
31 #include <wx/stedit/stedit.h>
32
33 class wxsSTEditor : public wxsWidget
34 {
35 public:
36
37 wxsSTEditor(wxsItemResData* Data);
38
39
40 protected:
41
42 virtual wxObject* OnBuildPreview(wxWindow* Parent,long Flags);
43 virtual void OnBuildCreatingCode();
44 virtual void OnEnumWidgetProperties(long Flags);
45
46
47 wxSize mSize; // used to check for default size
48 wxArrayString mText; // initial text contents
49 wxsPositionSizeData mVirtualSize;
50
51 };
52
53 #endif // wxsSTEDITOR_H