source: git/src/paneldlg.h @ ecbc6c18

RELEASE/1.1RELEASE/1.2debug-cidebug-ci-sanitisersstereowalls-data
Last change on this file since ecbc6c18 was ecbc6c18, checked in by Olly Betts <olly@…>, 14 years ago

src/: Update FSF address in licence notices.

git-svn-id: file:///home/survex-svn/survex/branches/survex-1_1@3417 4b37db11-9a0c-4f06-9ece-9ab7cdaee568

  • Property mode set to 100644
File size: 1.4 KB
Line 
1//
2//  paneldlg.h
3//
4//  Dialog boxes with multiple pages and a selector panel.
5//
6//  Copyright (C) 2002 Mark R. Shinwell
7//
8//  This program is free software; you can redistribute it and/or modify
9//  it under the terms of the GNU General Public License as published by
10//  the Free Software Foundation; either version 2 of the License, or
11//  (at your option) any later version.
12//
13//  This program is distributed in the hope that it will be useful,
14//  but WITHOUT ANY WARRANTY; without even the implied warranty of
15//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16//  GNU General Public License for more details.
17//
18//  You should have received a copy of the GNU General Public License
19//  along with this program; if not, write to the Free Software
20//  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
21//
22
23#ifndef paneldlg_h
24#define paneldlg_h
25
26#include "wx.h"
27#include "paneldlgpage.h"
28
29#include <list>
30
31using namespace std;
32
33class PanelDlg : public wxDialog {
34    wxBoxSizer* m_VertSizer;
35    wxBoxSizer* m_ButtonSizer;
36    list<PanelDlgPage*> m_Pages;
37    PanelDlgPage* m_CurrentPage;
38
39    void PositionPage();
40
41public:
42    PanelDlg(wxWindow* parent, wxWindowID id, const wxString& title);
43    virtual ~PanelDlg();
44
45    void OnPageChange(wxCommandEvent&);
46    void SetPages(list<PanelDlgPage*> pages);
47
48    DECLARE_EVENT_TABLE()
49};
50
51#endif
Note: See TracBrowser for help on using the repository browser.