~efargaspro/+junk/codeblocks-16.01-release

« back to all changes in this revision

Viewing changes to src/include/editarrayorderdlg.h

  • Committer: damienlmoore at gmail
  • Date: 2016-02-02 02:43:22 UTC
  • Revision ID: damienlmoore@gmail.com-20160202024322-yql5qmtbwdyamdwd
Code::BlocksĀ 16.01

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 EDITARRAYORDERDLG_H
 
7
#define EDITARRAYORDERDLG_H
 
8
 
 
9
#include "scrollingdialog.h"
 
10
#include <wx/arrstr.h>
 
11
#include "settings.h"
 
12
 
 
13
/*
 
14
 * No description
 
15
 */
 
16
class DLLIMPORT EditArrayOrderDlg : public wxScrollingDialog
 
17
{
 
18
        public:
 
19
                // class constructor
 
20
                EditArrayOrderDlg(wxWindow* parent, const wxArrayString& array);
 
21
                // class destructor
 
22
                ~EditArrayOrderDlg();
 
23
                EditArrayOrderDlg& operator=(const EditArrayOrderDlg&){ return *this; } // just to satisfy script bindings (never used)
 
24
                void SetArray(const wxArrayString& array){ m_Array = array; }
 
25
                const wxArrayString& GetArray(){ return m_Array; }
 
26
                void EndModal(int retCode);
 
27
                void OnMoveUp(wxCommandEvent& event);
 
28
                void OnMoveDown(wxCommandEvent& event);
 
29
                void OnUpdateUI(wxUpdateUIEvent& event);
 
30
    private:
 
31
        void DoFillList();
 
32
        wxArrayString m_Array;
 
33
        DECLARE_EVENT_TABLE()
 
34
};
 
35
 
 
36
#endif // EDITARRAYORDERDLG_H
 
37