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 * $Revision: 10681 $ 19 * $Id: wxsarraystringcheckeditordlg.h 10681 2016-01-22 10:45:30Z mortenmacfly $ 20 * $HeadURL: svn://svn.code.sf.net/p/codeblocks/code/branches/release-20.xx/src/plugins/contrib/wxSmith/wxwidgets/properties/wxsarraystringcheckeditordlg.h $ 21 */ 22 23 #ifndef WXSARRAYSTRINGCHECKEDITORDLG_H 24 #define WXSARRAYSTRINGCHECKEDITORDLG_H 25 26 #include "wxsarraystringcheckproperty.h" 27 28 //(*Headers(wxsArrayStringCheckEditorDlg) 29 #include <wx/sizer.h> 30 #include <wx/textctrl.h> 31 #include <wx/checklst.h> 32 #include <wx/statline.h> 33 #include <wx/button.h> 34 #include "scrollingdialog.h" 35 //*) 36 37 38 class wxsArrayStringCheckEditorDlg: public wxScrollingDialog 39 { 40 public: 41 42 wxsArrayStringCheckEditorDlg(wxWindow* parent,wxArrayString& Strings,wxArrayBool& Bools,wxWindowID id = -1); 43 virtual ~wxsArrayStringCheckEditorDlg(); 44 45 //(*Identifiers(wxsArrayStringCheckEditorDlg) 46 static const long ID_TEXTCTRL1; 47 static const long ID_BUTTON1; 48 static const long ID_CHECKLISTBOX1; 49 static const long ID_BUTTON2; 50 static const long ID_BUTTON4; 51 static const long ID_BUTTON3; 52 static const long ID_BUTTON5; 53 static const long ID_BUTTON6; 54 static const long ID_BUTTON7; 55 //*) 56 57 protected: 58 59 //(*Handlers(wxsArrayStringCheckEditorDlg) 60 void OnButton1Click(wxCommandEvent& event); 61 void OnButton2Click(wxCommandEvent& event); 62 void OnButton4Click(wxCommandEvent& event); 63 void OnButton3Click(wxCommandEvent& event); 64 void OnButton5Click(wxCommandEvent& event); 65 void OnButton6Click(wxCommandEvent& event); 66 void OnButton7Click(wxCommandEvent& event); 67 void OnStringListToggled(wxCommandEvent& event); 68 //*) 69 70 //(*Declarations(wxsArrayStringCheckEditorDlg) 71 wxBoxSizer* BoxSizer4; 72 wxButton* Button4; 73 wxButton* Button1; 74 wxButton* Button2; 75 wxButton* Button6; 76 wxButton* Button5; 77 wxButton* Button3; 78 wxButton* Button7; 79 wxCheckListBox* StringList; 80 wxTextCtrl* EditArea; 81 //*) 82 83 private: 84 85 wxArrayString& Strings; 86 wxArrayBool& Bools; 87 88 DECLARE_EVENT_TABLE() 89 }; 90 91 #endif 92