Code::Blocks  SVN r11506
editarrayorderdlg.h
Go to the documentation of this file.
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  */
17 {
18  public:
19  // class constructor
20  EditArrayOrderDlg(wxWindow* parent, const wxArrayString& array);
21  // class destructor
22  ~EditArrayOrderDlg() override;
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) override;
27  void OnMoveUp(wxCommandEvent& event);
28  void OnMoveDown(wxCommandEvent& event);
29  void OnUpdateUI(wxUpdateUIEvent& event);
30  private:
31  void DoFillList();
33  DECLARE_EVENT_TABLE()
34 };
35 
36 #endif // EDITARRAYORDERDLG_H
37 
void EndModal(int retCode)
Definition: sc_dialog.cpp:112
void SetArray(const wxArrayString &array)
wxArrayString m_Array
#define DLLIMPORT
Definition: settings.h:16
const wxArrayString & GetArray()
EditArrayOrderDlg & operator=(const EditArrayOrderDlg &)