source: git/src/paneldlg.h @ a24d697

RELEASE/1.1RELEASE/1.2debug-cidebug-ci-sanitisersfaster-cavernlogstereowalls-datawalls-data-hanging-as-warning
Last change on this file since a24d697 was 55a5a1d, checked in by Mark Shinwell <mark>, 22 years ago

PanelDlg? work

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

  • Property mode set to 100644
File size: 1.3 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., 59 Temple Place, Suite 330, Boston, MA  02111-1307  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
31class PanelDlg : public wxDialog {
32    wxBoxSizer* m_VertSizer;
33    wxBoxSizer* m_ButtonSizer;
34    list<PanelDlgPage*> m_Pages;
35    PanelDlgPage* m_CurrentPage;
36
37    void PositionPage();
38
39public:
40    PanelDlg(wxWindow* parent, wxWindowID id, const wxString& title);
41    virtual ~PanelDlg();
42
43    void OnPageChange(wxCommandEvent&);
44    void SetPages(list<PanelDlgPage*> pages);
45
46    DECLARE_EVENT_TABLE()
47};
48
49#endif
50
Note: See TracBrowser for help on using the repository browser.