Code::Blocks  SVN r11506
editpairdlg.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 EDITPAIRDLG_H
7 #define EDITPAIRDLG_H
8 
9 #include <wx/intl.h>
10 #include "scrollingdialog.h"
11 
13 {
14  public:
16  {
17  bmDisable = 0,
19  bmBrowseForDirectory
20  };
21 
22  EditPairDlg(wxWindow* parent, wxString& key, wxString& value, const wxString& title = _("Edit pair"), BrowseMode allowBrowse = bmDisable);
23  ~EditPairDlg() override;
24  EditPairDlg& operator=(const EditPairDlg&){ return *this; } // just to satisfy script bindings (never used)
25  void EndModal(int retCode) override;
26  protected:
27  void OnUpdateUI(wxUpdateUIEvent& event);
28  void OnBrowse(wxCommandEvent& event);
29 
33  private:
34  DECLARE_EVENT_TABLE()
35 };
36 
37 #endif // EDITPAIRDLG_H
void EndModal(int retCode)
Definition: sc_dialog.cpp:112
#define DLLIMPORT
Definition: settings.h:16
const wxString & _(const wxString &string)
BrowseMode m_BrowseMode
Definition: editpairdlg.h:32
wxString & m_Key
Definition: editpairdlg.h:30
EditPairDlg & operator=(const EditPairDlg &)
Definition: editpairdlg.h:24
wxString & m_Value
Definition: editpairdlg.h:31