~ubuntu-branches/ubuntu/hardy/codeblocks/hardy-backports

« back to all changes in this revision

Viewing changes to src/include/editarraystringdlg.h

  • Committer: Bazaar Package Importer
  • Author(s): Michael Casadevall
  • Date: 2008-07-17 04:39:23 UTC
  • Revision ID: james.westby@ubuntu.com-20080717043923-gmsy5cwkdjswghkm
Tags: upstream-8.02
ImportĀ upstreamĀ versionĀ 8.02

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * This file is part of the Code::Blocks IDE and licensed under the GNU Lesser General Public License, version 3
 
3
 * http://www.gnu.org/licenses/lgpl-3.0.html
 
4
 */
 
5
 
 
6
#ifndef EDITARRAYSTRINGDLG_H
 
7
#define EDITARRAYSTRINGDLG_H
 
8
 
 
9
#include <wx/dialog.h>
 
10
#include <wx/arrstr.h>
 
11
#include "settings.h"
 
12
 
 
13
class DLLIMPORT EditArrayStringDlg : public wxDialog
 
14
{
 
15
        public:
 
16
                EditArrayStringDlg(wxWindow* parent, wxArrayString& array);
 
17
                virtual ~EditArrayStringDlg();
 
18
                EditArrayStringDlg& operator=(const EditArrayStringDlg&){ return *this; } // just to satisfy script bindings (never used)
 
19
                virtual void EndModal(int retCode);
 
20
        protected:
 
21
                void OnAdd(wxCommandEvent& event);
 
22
                void OnEdit(wxCommandEvent& event);
 
23
                void OnDelete(wxCommandEvent& event);
 
24
                void OnUpdateUI(wxUpdateUIEvent& event);
 
25
                wxArrayString& m_Array;
 
26
        private:
 
27
                DECLARE_EVENT_TABLE()
 
28
};
 
29
 
 
30
#endif // EDITARRAYSTRINGDLG_H
 
31