]> git.saurik.com Git - wxWidgets.git/blame - utils/configtool/src/settingsdialog.h
fix some more samples for digital mars
[wxWidgets.git] / utils / configtool / src / settingsdialog.h
CommitLineData
d7463f75
JS
1/////////////////////////////////////////////////////////////////////////////
2// Name: settingsdialog.h
3// Purpose:
4// Author:
5// Modified by:
6// Created:
7// RCS-ID:
8// Copyright:
9// Licence:
10/////////////////////////////////////////////////////////////////////////////
11
12#ifndef _SETTINGSDIALOG_H_
13#define _SETTINGSDIALOG_H_
14
f8105809
JS
15#ifdef __GNUG__
16#pragma interface "settingsdialog.cpp"
17#endif
18
d7463f75
JS
19/*!
20 * Includes
21 */
22
23////@begin includes
24////@end includes
25
26/*!
27 * Forward declarations
28 */
29
30////@begin forward declarations
31class ctGeneralSettingsDialog;
32class ctLocationSettingsDialog;
33////@end forward declarations
34
35/*!
36 * Control identifiers
37 */
38
39////@begin control identifiers
40#define ID_SETTINGS_DIALOG 10000
41#define ID_NOTEBOOK 10001
42#define ID_GENERAL_SETTINGS_DIALOG 10005
43#define ID_LOAD_LAST_DOCUMENT 10006
44#define ID_SHOW_TOOLTIPS 10007
45#define ID_LOCATION_SETTINGS_DIALOG 10008
46#define ID_WXWIN_HIERARCHY 10010
47#define ID_CHOOSE_WXWIN_HIERARCHY 10011
48#define ID_USE_WXWIN 10012
49////@end control identifiers
50
51/*!
52 * ctSettingsDialog class declaration
53 */
54
55class ctSettingsDialog: public wxDialog
56{
57public:
58 /// Constructor
59 ctSettingsDialog( wxWindow* parent, wxWindowID id = -1,
60 const wxString& caption = _("Configuration Settings"),
61 const wxPoint& pos = wxDefaultPosition,
62 const wxSize& size = wxDefaultSize,
63 long style = wxCAPTION|wxSYSTEM_MENU );
64
65 /// Creates the controls and sizers
66 void CreateControls();
67
68////@begin ctSettingsDialog event handler declarations
69
70 /// Event handler for wxID_OK
71 void OnOk( wxCommandEvent& event );
72
73 /// Event handler for wxID_CANCEL
74 void OnCancel( wxCommandEvent& event );
75
76 /// Event handler for wxID_HELP
77 void OnHelp( wxCommandEvent& event );
78
79////@end ctSettingsDialog event handler declarations
80
81////@begin ctSettingsDialog member function declarations
82
83////@end ctSettingsDialog member function declarations
84
85 /// Should we show tooltips?
86 static bool ShowToolTips();
87
88 DECLARE_CLASS( ctSettingsDialog )
89 DECLARE_EVENT_TABLE()
90};
91
92/*!
93 * ctGeneralSettingsDialog class declaration
94 */
95
96class ctGeneralSettingsDialog: public wxPanel
97{
98public:
99 /// Constructor
100 ctGeneralSettingsDialog( wxWindow* parent, wxWindowID id = -1, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxNO_BORDER|wxTAB_TRAVERSAL );
101
102 /// Creates the controls and sizers
103 void CreateControls();
104
105////@begin ctGeneralSettingsDialog event handler declarations
106
107////@end ctGeneralSettingsDialog event handler declarations
108
109////@begin ctGeneralSettingsDialog member function declarations
110
111////@end ctGeneralSettingsDialog member function declarations
112
113 /// Should we show tooltips?
114 static bool ShowToolTips();
115
116 DECLARE_CLASS( ctGeneralSettingsDialog )
117 DECLARE_EVENT_TABLE()
118};
119
120/*!
121 * ctLocationSettingsDialog class declaration
122 */
123
124class ctLocationSettingsDialog: public wxPanel
125{
126public:
127 /// Constructor
128 ctLocationSettingsDialog( wxWindow* parent, wxWindowID id = -1, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxNO_BORDER|wxTAB_TRAVERSAL );
129
130 /// Creates the controls and sizers
131 void CreateControls();
132
133////@begin ctLocationSettingsDialog event handler declarations
134
135 /// Update event handler for ID_WXWIN_HIERARCHY
136 void OnUpdateWxwinHierarchy( wxUpdateUIEvent& event );
137
138 /// Event handler for ID_CHOOSE_WXWIN_HIERARCHY
139 void OnChooseWxwinHierarchy( wxCommandEvent& event );
140
141 /// Update event handler for ID_CHOOSE_WXWIN_HIERARCHY
142 void OnUpdateChooseWxwinHierarchy( wxUpdateUIEvent& event );
143
144////@end ctLocationSettingsDialog event handler declarations
145
146////@begin ctLocationSettingsDialog member function declarations
147
148////@end ctLocationSettingsDialog member function declarations
149
150 /// Should we show tooltips?
151 static bool ShowToolTips();
152
153 DECLARE_CLASS( ctLocationSettingsDialog )
154 DECLARE_EVENT_TABLE()
155};
156
157#endif
158 // _SETTINGSDIALOG_H_