RELEASE/1.1RELEASE/1.2debug-cidebug-ci-sanitisersstereowalls-datawalls-data-hanging-as-warning
Rev | Line | |
---|
[02c7c1a] | 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 |
---|
[ecbc6c18] | 20 | // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
---|
[02c7c1a] | 21 | // |
---|
| 22 | |
---|
| 23 | #ifndef paneldlg_h |
---|
| 24 | #define paneldlg_h |
---|
| 25 | |
---|
| 26 | #include "wx.h" |
---|
| 27 | #include "paneldlgpage.h" |
---|
| 28 | |
---|
| 29 | #include <list> |
---|
| 30 | |
---|
[203d2a7] | 31 | using namespace std; |
---|
| 32 | |
---|
[02c7c1a] | 33 | class PanelDlg : public wxDialog { |
---|
| 34 | wxBoxSizer* m_VertSizer; |
---|
[2f2509e] | 35 | wxBoxSizer* m_ButtonSizer; |
---|
| 36 | list<PanelDlgPage*> m_Pages; |
---|
| 37 | PanelDlgPage* m_CurrentPage; |
---|
[02c7c1a] | 38 | |
---|
[55a5a1d] | 39 | void PositionPage(); |
---|
| 40 | |
---|
[02c7c1a] | 41 | public: |
---|
| 42 | PanelDlg(wxWindow* parent, wxWindowID id, const wxString& title); |
---|
| 43 | virtual ~PanelDlg(); |
---|
| 44 | |
---|
[2f2509e] | 45 | void OnPageChange(wxCommandEvent&); |
---|
[02c7c1a] | 46 | void SetPages(list<PanelDlgPage*> pages); |
---|
[2f2509e] | 47 | |
---|
| 48 | DECLARE_EVENT_TABLE() |
---|
[02c7c1a] | 49 | }; |
---|
| 50 | |
---|
| 51 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.