Code::Blocks  SVN r11506
genericmultilinenotesdlg.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 GENERICMULTILINENOTESDLG_H
7 #define GENERICMULTILINENOTESDLG_H
8 
9 #include "scrollingdialog.h"
10 #include <wx/intl.h>
11 
12 
14 {
15  public:
16  GenericMultiLineNotesDlg(wxWindow* parent, const wxString& caption = _("Notes"), const wxString& notes = wxEmptyString, bool readOnly = true);
17  ~GenericMultiLineNotesDlg() override;
18  GenericMultiLineNotesDlg& operator=(const GenericMultiLineNotesDlg&){ return *this; } // just to satisfy script bindings (never used)
19 
20  const wxString& GetNotes(){ return m_Notes; }
21  void EndModal(int retCode) override;
22  protected:
24  bool m_ReadOnly;
25  private:
26  DECLARE_EVENT_TABLE()
27 };
28 
29 
30 
31 #endif // GENERICMULTILINENOTESDLG_H
wxString wxEmptyString
GenericMultiLineNotesDlg(wxWindow *parent, const wxString &caption=_("Notes"), const wxString &notes=wxEmptyString, bool readOnly=true)
const wxString & _(const wxString &string)
GenericMultiLineNotesDlg & operator=(const GenericMultiLineNotesDlg &)
void EndModal(int retCode) override