1 #-----------------------------------------------------------------------------
2 # Python source generated by wxDesigner from file: joystick.wdr
3 # Do not modify this file, all changes will be lost!
4 #-----------------------------------------------------------------------------
6 # Include wxWindows' modules
7 from wxPython
.wx
import *
12 ID_X_Position_Ctrl
= 10001
13 ID_Y_Position_Ctrl
= 10002
14 ID_Z_Position_Ctrl
= 10003
15 ID_Button_State_Ctrl
= 10004
16 ID_POV_Position_Ctrl
= 10005
17 ID_POV_CTS_Pos_Ctrl
= 10006
18 ID_Rudder_Pos_Ctrl
= 10007
19 ID_U_Position_Ctrl
= 10008
20 ID_V_Position_Ctrl
= 10009
21 ID_Has_Rudder_Ctrl
= 10010
25 ID_Has_POV_Ctrl
= 10014
26 ID_Has_POV_4DIR_Ctrl
= 10015
27 ID_Has_POV_CTS_Ctrl
= 10016
28 ID_Num_Sticks_Ctrl
= 10017
29 ID_Mfg_ID_Ctrl
= 10018
30 ID_Prod_Name_Ctrl
= 10019
37 ID_Num_Buttons_Ctrl
= 10026
38 ID_Num_Axes_Ctrl
= 10027
39 ID_Max_Buttons_Ctrl
= 10028
40 ID_Max_Axes_Ctrl
= 10029
41 ID_Polling_Min_Ctrl
= 10030
42 ID_Polling_Max_Ctrl
= 10031
43 ID_Rudder_Min_Ctrl
= 10032
44 ID_Rudder_Max_Ctrl
= 10033
50 def MakeJoystickTestPanel( parent
, call_fit
= True, set_sizer
= True ):
51 item0
= wxBoxSizer( wxVERTICAL
)
53 item1
= wxFlexGridSizer( 0, 8, 0, 0 )
55 item2
= wxStaticText( parent
, ID_TEXT
, "X Position:", wxDefaultPosition
, wxDefaultSize
, wxALIGN_RIGHT
)
56 item1
.AddWindow( item2
, 0, wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxLEFT|wxTOP
, 5 )
58 item3
= wxTextCtrl( parent
, ID_X_Position_Ctrl
, "", wxDefaultPosition
, wxSize(45,-1), wxTE_READONLY
)
59 item1
.AddWindow( item3
, 0, wxGROW|wxALIGN_CENTER_VERTICAL|wxLEFT|wxRIGHT|wxTOP
, 5 )
61 item4
= wxStaticText( parent
, ID_TEXT
, "Y Position:", wxDefaultPosition
, wxDefaultSize
, wxALIGN_RIGHT
)
62 item1
.AddWindow( item4
, 0, wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxLEFT|wxTOP
, 5 )
64 item5
= wxTextCtrl( parent
, ID_Y_Position_Ctrl
, "", wxDefaultPosition
, wxSize(45,-1), wxTE_READONLY
)
65 item1
.AddWindow( item5
, 0, wxGROW|wxALIGN_CENTER_VERTICAL|wxLEFT|wxRIGHT|wxTOP
, 5 )
67 item6
= wxStaticText( parent
, ID_TEXT
, "Z Position:", wxDefaultPosition
, wxDefaultSize
, wxALIGN_RIGHT
)
68 item1
.AddWindow( item6
, 0, wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxLEFT|wxTOP
, 5 )
70 item7
= wxTextCtrl( parent
, ID_Z_Position_Ctrl
, "", wxDefaultPosition
, wxSize(45,-1), wxTE_READONLY
)
71 item1
.AddWindow( item7
, 0, wxGROW|wxALIGN_CENTER_VERTICAL|wxLEFT|wxRIGHT|wxTOP
, 5 )
73 item8
= wxStaticText( parent
, ID_TEXT
, "Button State:", wxDefaultPosition
, wxDefaultSize
, wxALIGN_RIGHT
)
74 item1
.AddWindow( item8
, 0, wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxLEFT|wxTOP
, 5 )
76 item9
= wxTextCtrl( parent
, ID_Button_State_Ctrl
, "", wxDefaultPosition
, wxSize(45,-1), wxTE_READONLY
)
77 item1
.AddWindow( item9
, 0, wxGROW|wxALIGN_CENTER_VERTICAL|wxLEFT|wxRIGHT|wxTOP
, 5 )
79 item10
= wxStaticText( parent
, ID_TEXT
, "POV Position:", wxDefaultPosition
, wxDefaultSize
, wxALIGN_RIGHT
)
80 item1
.AddWindow( item10
, 0, wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxLEFT|wxTOP
, 5 )
82 item11
= wxTextCtrl( parent
, ID_POV_Position_Ctrl
, "", wxDefaultPosition
, wxSize(35,-1), wxTE_READONLY
)
83 item1
.AddWindow( item11
, 0, wxGROW|wxALIGN_CENTER_VERTICAL|wxLEFT|wxRIGHT|wxTOP
, 5 )
85 item12
= wxStaticText( parent
, ID_TEXT
, "POV CTS Pos:", wxDefaultPosition
, wxDefaultSize
, wxALIGN_RIGHT
)
86 item1
.AddWindow( item12
, 0, wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxLEFT|wxTOP
, 5 )
88 item13
= wxTextCtrl( parent
, ID_POV_CTS_Pos_Ctrl
, "", wxDefaultPosition
, wxSize(35,-1), wxTE_READONLY
)
89 item1
.AddWindow( item13
, 0, wxGROW|wxALIGN_CENTER_VERTICAL|wxLEFT|wxRIGHT|wxTOP
, 5 )
91 item14
= wxStaticText( parent
, ID_TEXT
, "Rudder Pos:", wxDefaultPosition
, wxDefaultSize
, wxALIGN_RIGHT
)
92 item1
.AddWindow( item14
, 0, wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxLEFT|wxTOP
, 5 )
94 item15
= wxTextCtrl( parent
, ID_Rudder_Pos_Ctrl
, "", wxDefaultPosition
, wxSize(35,-1), wxTE_READONLY
)
95 item1
.AddWindow( item15
, 0, wxGROW|wxALIGN_CENTER_VERTICAL|wxLEFT|wxRIGHT|wxTOP
, 5 )
97 item16
= wxStaticText( parent
, ID_TEXT
, "U Position:", wxDefaultPosition
, wxDefaultSize
, wxALIGN_RIGHT
)
98 item1
.AddWindow( item16
, 0, wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxLEFT|wxTOP
, 5 )
100 item17
= wxTextCtrl( parent
, ID_U_Position_Ctrl
, "", wxDefaultPosition
, wxSize(35,-1), wxTE_READONLY
)
101 item1
.AddWindow( item17
, 0, wxGROW|wxALIGN_CENTER_VERTICAL|wxLEFT|wxRIGHT|wxTOP
, 5 )
103 item18
= wxStaticText( parent
, ID_TEXT
, "V Position:", wxDefaultPosition
, wxDefaultSize
, wxALIGN_RIGHT
)
104 item1
.AddWindow( item18
, 0, wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxLEFT|wxTOP
, 5 )
106 item19
= wxTextCtrl( parent
, ID_V_Position_Ctrl
, "", wxDefaultPosition
, wxSize(35,-1), wxTE_READONLY
)
107 item1
.AddWindow( item19
, 0, wxGROW|wxALIGN_CENTER_VERTICAL|wxLEFT|wxRIGHT|wxTOP
, 5 )
109 item1
.AddSpacer( 20, 10, 0, wxALIGN_CENTRE
, 5 )
111 item1
.AddSpacer( 20, 10, 0, wxALIGN_CENTRE
, 5 )
113 item1
.AddSpacer( 20, 10, 0, wxALIGN_CENTRE
, 5 )
115 item1
.AddSpacer( 20, 10, 0, wxALIGN_CENTRE
, 5 )
117 item1
.AddSpacer( 20, 10, 0, wxALIGN_CENTRE
, 5 )
119 item1
.AddSpacer( 20, 10, 0, wxALIGN_CENTRE
, 5 )
121 item20
= wxStaticText( parent
, ID_TEXT
, "HasRudder:", wxDefaultPosition
, wxDefaultSize
, wxALIGN_RIGHT
)
122 item1
.AddWindow( item20
, 0, wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxLEFT|wxTOP
, 5 )
124 item21
= wxTextCtrl( parent
, ID_Has_Rudder_Ctrl
, "", wxDefaultPosition
, wxSize(35,-1), wxTE_READONLY
)
125 item1
.AddWindow( item21
, 0, wxGROW|wxALIGN_CENTER_VERTICAL|wxLEFT|wxRIGHT|wxTOP
, 5 )
127 item22
= wxStaticText( parent
, ID_TEXT
, "HasZ:", wxDefaultPosition
, wxDefaultSize
, wxALIGN_RIGHT
)
128 item1
.AddWindow( item22
, 0, wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxLEFT|wxTOP
, 5 )
130 item23
= wxTextCtrl( parent
, ID_Has_Z_Ctrl
, "", wxDefaultPosition
, wxSize(35,-1), wxTE_READONLY
)
131 item1
.AddWindow( item23
, 0, wxGROW|wxALIGN_CENTER_VERTICAL|wxLEFT|wxRIGHT|wxTOP
, 5 )
133 item24
= wxStaticText( parent
, ID_TEXT
, "HasU:", wxDefaultPosition
, wxDefaultSize
, wxALIGN_RIGHT
)
134 item1
.AddWindow( item24
, 0, wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxLEFT|wxTOP
, 5 )
136 item25
= wxTextCtrl( parent
, ID_Has_U_Ctrl
, "", wxDefaultPosition
, wxSize(35,-1), wxTE_READONLY
)
137 item1
.AddWindow( item25
, 0, wxGROW|wxALIGN_CENTER_VERTICAL|wxLEFT|wxRIGHT|wxTOP
, 5 )
139 item26
= wxStaticText( parent
, ID_TEXT
, "HasV:", wxDefaultPosition
, wxDefaultSize
, wxALIGN_RIGHT
)
140 item1
.AddWindow( item26
, 0, wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxLEFT|wxTOP
, 5 )
142 item27
= wxTextCtrl( parent
, ID_Has_V_Ctrl
, "", wxDefaultPosition
, wxSize(35,-1), wxTE_READONLY
)
143 item1
.AddWindow( item27
, 0, wxGROW|wxALIGN_CENTER_VERTICAL|wxLEFT|wxRIGHT|wxTOP
, 5 )
145 item28
= wxStaticText( parent
, ID_TEXT
, "HasPOV:", wxDefaultPosition
, wxDefaultSize
, wxALIGN_RIGHT
)
146 item1
.AddWindow( item28
, 0, wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxLEFT|wxTOP
, 5 )
148 item29
= wxTextCtrl( parent
, ID_Has_POV_Ctrl
, "", wxDefaultPosition
, wxSize(35,-1), wxTE_READONLY
)
149 item1
.AddWindow( item29
, 0, wxGROW|wxALIGN_CENTER_VERTICAL|wxLEFT|wxRIGHT|wxTOP
, 5 )
151 item30
= wxStaticText( parent
, ID_TEXT
, "HasPOV4Dir:", wxDefaultPosition
, wxDefaultSize
, wxALIGN_RIGHT
)
152 item1
.AddWindow( item30
, 0, wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxLEFT|wxTOP
, 5 )
154 item31
= wxTextCtrl( parent
, ID_Has_POV_4DIR_Ctrl
, "", wxDefaultPosition
, wxSize(35,-1), wxTE_READONLY
)
155 item1
.AddWindow( item31
, 0, wxGROW|wxALIGN_CENTER_VERTICAL|wxLEFT|wxRIGHT|wxTOP
, 5 )
157 item32
= wxStaticText( parent
, ID_TEXT
, "HasPOVCTS:", wxDefaultPosition
, wxDefaultSize
, wxALIGN_RIGHT
)
158 item1
.AddWindow( item32
, 0, wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxLEFT|wxTOP
, 5 )
160 item33
= wxTextCtrl( parent
, ID_Has_POV_CTS_Ctrl
, "", wxDefaultPosition
, wxSize(35,-1), wxTE_READONLY
)
161 item1
.AddWindow( item33
, 0, wxGROW|wxALIGN_CENTER_VERTICAL|wxLEFT|wxRIGHT|wxTOP
, 5 )
163 item34
= wxStaticText( parent
, ID_TEXT
, "# Joysticks:", wxDefaultPosition
, wxDefaultSize
, wxALIGN_RIGHT
)
164 item1
.AddWindow( item34
, 0, wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxLEFT|wxTOP
, 5 )
166 item35
= wxTextCtrl( parent
, ID_Num_Sticks_Ctrl
, "", wxDefaultPosition
, wxSize(35,-1), wxTE_READONLY
)
167 item1
.AddWindow( item35
, 0, wxGROW|wxALIGN_CENTER_VERTICAL|wxLEFT|wxRIGHT|wxTOP
, 5 )
169 item36
= wxStaticText( parent
, ID_TEXT
, "Mfg ID:", wxDefaultPosition
, wxDefaultSize
, wxALIGN_RIGHT
)
170 item1
.AddWindow( item36
, 0, wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxLEFT|wxTOP
, 5 )
172 item37
= wxTextCtrl( parent
, ID_Mfg_ID_Ctrl
, "", wxDefaultPosition
, wxSize(35,-1), wxTE_READONLY
)
173 item1
.AddWindow( item37
, 0, wxGROW|wxALIGN_CENTER_VERTICAL|wxLEFT|wxRIGHT|wxTOP
, 5 )
175 item38
= wxStaticText( parent
, ID_TEXT
, "Prod Name:", wxDefaultPosition
, wxDefaultSize
, wxALIGN_RIGHT
)
176 item1
.AddWindow( item38
, 0, wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxLEFT|wxTOP
, 5 )
178 item39
= wxTextCtrl( parent
, ID_Prod_Name_Ctrl
, "", wxDefaultPosition
, wxSize(35,-1), wxTE_READONLY
)
179 item1
.AddWindow( item39
, 0, wxGROW|wxALIGN_CENTER_VERTICAL|wxLEFT|wxRIGHT|wxTOP
, 5 )
181 item40
= wxStaticText( parent
, ID_TEXT
, "X Min:", wxDefaultPosition
, wxDefaultSize
, wxALIGN_RIGHT
)
182 item1
.AddWindow( item40
, 0, wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxLEFT|wxTOP
, 5 )
184 item41
= wxTextCtrl( parent
, ID_X_Min_Ctrl
, "", wxDefaultPosition
, wxSize(35,-1), wxTE_READONLY
)
185 item1
.AddWindow( item41
, 0, wxGROW|wxALIGN_CENTER_VERTICAL|wxLEFT|wxRIGHT|wxTOP
, 5 )
187 item42
= wxStaticText( parent
, ID_TEXT
, "Y Min:", wxDefaultPosition
, wxDefaultSize
, wxALIGN_RIGHT
)
188 item1
.AddWindow( item42
, 0, wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxLEFT|wxTOP
, 5 )
190 item43
= wxTextCtrl( parent
, ID_Y_Min_Ctrl
, "", wxDefaultPosition
, wxSize(35,-1), wxTE_READONLY
)
191 item1
.AddWindow( item43
, 0, wxGROW|wxALIGN_CENTER_VERTICAL|wxLEFT|wxRIGHT|wxTOP
, 5 )
193 item44
= wxStaticText( parent
, ID_TEXT
, "Z Min:", wxDefaultPosition
, wxDefaultSize
, wxALIGN_RIGHT
)
194 item1
.AddWindow( item44
, 0, wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxLEFT|wxTOP
, 5 )
196 item45
= wxTextCtrl( parent
, ID_Z_Min_Ctrl
, "", wxDefaultPosition
, wxSize(35,-1), wxTE_READONLY
)
197 item1
.AddWindow( item45
, 0, wxGROW|wxALIGN_CENTER_VERTICAL|wxLEFT|wxRIGHT|wxTOP
, 5 )
199 item46
= wxStaticText( parent
, ID_TEXT
, "X Max:", wxDefaultPosition
, wxDefaultSize
, wxALIGN_RIGHT
)
200 item1
.AddWindow( item46
, 0, wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxLEFT|wxTOP
, 5 )
202 item47
= wxTextCtrl( parent
, ID_X_Max_Ctrl
, "", wxDefaultPosition
, wxSize(35,-1), wxTE_READONLY
)
203 item1
.AddWindow( item47
, 0, wxGROW|wxALIGN_CENTER_VERTICAL|wxLEFT|wxRIGHT|wxTOP
, 5 )
205 item48
= wxStaticText( parent
, ID_TEXT
, "Y Max:", wxDefaultPosition
, wxDefaultSize
, wxALIGN_RIGHT
)
206 item1
.AddWindow( item48
, 0, wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxLEFT|wxTOP
, 5 )
208 item49
= wxTextCtrl( parent
, ID_Y_Max_Ctrl
, "", wxDefaultPosition
, wxSize(35,-1), wxTE_READONLY
)
209 item1
.AddWindow( item49
, 0, wxGROW|wxALIGN_CENTER_VERTICAL|wxLEFT|wxRIGHT|wxTOP
, 5 )
211 item50
= wxStaticText( parent
, ID_TEXT
, "Z Max", wxDefaultPosition
, wxDefaultSize
, wxALIGN_RIGHT
)
212 item1
.AddWindow( item50
, 0, wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxLEFT|wxTOP
, 5 )
214 item51
= wxTextCtrl( parent
, ID_Z_Max_Ctrl
, "", wxDefaultPosition
, wxSize(35,-1), wxTE_READONLY
)
215 item1
.AddWindow( item51
, 0, wxGROW|wxALIGN_CENTER_VERTICAL|wxLEFT|wxRIGHT|wxTOP
, 5 )
217 item52
= wxStaticText( parent
, ID_TEXT
, "# Buttons:", wxDefaultPosition
, wxDefaultSize
, wxALIGN_RIGHT
)
218 item1
.AddWindow( item52
, 0, wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxLEFT|wxTOP
, 5 )
220 item53
= wxTextCtrl( parent
, ID_Num_Buttons_Ctrl
, "", wxDefaultPosition
, wxSize(35,-1), wxTE_READONLY
)
221 item1
.AddWindow( item53
, 0, wxGROW|wxALIGN_CENTER_VERTICAL|wxLEFT|wxRIGHT|wxTOP
, 5 )
223 item54
= wxStaticText( parent
, ID_TEXT
, "Num Axes:", wxDefaultPosition
, wxDefaultSize
, wxALIGN_RIGHT
)
224 item1
.AddWindow( item54
, 0, wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxLEFT|wxTOP
, 5 )
226 item55
= wxTextCtrl( parent
, ID_Num_Axes_Ctrl
, "", wxDefaultPosition
, wxSize(35,-1), wxTE_READONLY
)
227 item1
.AddWindow( item55
, 0, wxGROW|wxALIGN_CENTER_VERTICAL|wxLEFT|wxRIGHT|wxTOP
, 5 )
229 item56
= wxStaticText( parent
, ID_TEXT
, "Max Buttons:", wxDefaultPosition
, wxDefaultSize
, wxALIGN_RIGHT
)
230 item1
.AddWindow( item56
, 0, wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxLEFT|wxTOP
, 5 )
232 item57
= wxTextCtrl( parent
, ID_Max_Buttons_Ctrl
, "", wxDefaultPosition
, wxSize(35,-1), wxTE_READONLY
)
233 item1
.AddWindow( item57
, 0, wxGROW|wxALIGN_CENTER_VERTICAL|wxLEFT|wxRIGHT|wxTOP
, 5 )
235 item58
= wxStaticText( parent
, ID_TEXT
, "Max Axes:", wxDefaultPosition
, wxDefaultSize
, wxALIGN_RIGHT
)
236 item1
.AddWindow( item58
, 0, wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxLEFT|wxTOP
, 5 )
238 item59
= wxTextCtrl( parent
, ID_Max_Axes_Ctrl
, "", wxDefaultPosition
, wxSize(35,-1), wxTE_READONLY
)
239 item1
.AddWindow( item59
, 0, wxGROW|wxALIGN_CENTER_VERTICAL|wxLEFT|wxRIGHT|wxTOP
, 5 )
241 item60
= wxStaticText( parent
, ID_TEXT
, "Polling Min:", wxDefaultPosition
, wxDefaultSize
, wxALIGN_RIGHT
)
242 item1
.AddWindow( item60
, 0, wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxLEFT|wxTOP
, 5 )
244 item61
= wxTextCtrl( parent
, ID_Polling_Min_Ctrl
, "", wxDefaultPosition
, wxSize(35,-1), wxTE_READONLY
)
245 item1
.AddWindow( item61
, 0, wxGROW|wxALIGN_CENTER_VERTICAL|wxLEFT|wxRIGHT|wxTOP
, 5 )
247 item62
= wxStaticText( parent
, ID_TEXT
, "Polling Max:", wxDefaultPosition
, wxDefaultSize
, wxALIGN_RIGHT
)
248 item1
.AddWindow( item62
, 0, wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxLEFT|wxTOP
, 5 )
250 item63
= wxTextCtrl( parent
, ID_Polling_Max_Ctrl
, "", wxDefaultPosition
, wxSize(35,-1), wxTE_READONLY
)
251 item1
.AddWindow( item63
, 0, wxGROW|wxALIGN_CENTER_VERTICAL|wxLEFT|wxRIGHT|wxTOP
, 5 )
253 item64
= wxStaticText( parent
, ID_TEXT
, "Rudder Min:", wxDefaultPosition
, wxDefaultSize
, wxALIGN_RIGHT
)
254 item1
.AddWindow( item64
, 0, wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxLEFT|wxTOP
, 5 )
256 item65
= wxTextCtrl( parent
, ID_Rudder_Min_Ctrl
, "", wxDefaultPosition
, wxSize(35,-1), wxTE_READONLY
)
257 item1
.AddWindow( item65
, 0, wxGROW|wxALIGN_CENTER_VERTICAL|wxLEFT|wxRIGHT|wxTOP
, 5 )
259 item66
= wxStaticText( parent
, ID_TEXT
, "Rudder Max:", wxDefaultPosition
, wxDefaultSize
, wxALIGN_RIGHT
)
260 item1
.AddWindow( item66
, 0, wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxLEFT|wxTOP
, 5 )
262 item67
= wxTextCtrl( parent
, ID_Rudder_Max_Ctrl
, "", wxDefaultPosition
, wxSize(35,-1), wxTE_READONLY
)
263 item1
.AddWindow( item67
, 0, wxGROW|wxALIGN_CENTER_VERTICAL|wxLEFT|wxRIGHT|wxTOP
, 5 )
265 item68
= wxStaticText( parent
, ID_TEXT
, "U Min:", wxDefaultPosition
, wxDefaultSize
, wxALIGN_RIGHT
)
266 item1
.AddWindow( item68
, 0, wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxLEFT|wxTOP
, 5 )
268 item69
= wxTextCtrl( parent
, ID_U_Min_Ctrl
, "", wxDefaultPosition
, wxSize(35,-1), wxTE_READONLY
)
269 item1
.AddWindow( item69
, 0, wxGROW|wxALIGN_CENTER_VERTICAL|wxLEFT|wxRIGHT|wxTOP
, 5 )
271 item70
= wxStaticText( parent
, ID_TEXT
, "U Max:", wxDefaultPosition
, wxDefaultSize
, wxALIGN_RIGHT
)
272 item1
.AddWindow( item70
, 0, wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxLEFT|wxTOP
, 5 )
274 item71
= wxTextCtrl( parent
, ID_U_Max_Ctrl
, "", wxDefaultPosition
, wxSize(35,-1), wxTE_READONLY
)
275 item1
.AddWindow( item71
, 0, wxGROW|wxALIGN_CENTER_VERTICAL|wxLEFT|wxRIGHT|wxTOP
, 5 )
277 item72
= wxStaticText( parent
, ID_TEXT
, "V Min:", wxDefaultPosition
, wxDefaultSize
, wxALIGN_RIGHT
)
278 item1
.AddWindow( item72
, 0, wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxLEFT|wxTOP
, 5 )
280 item73
= wxTextCtrl( parent
, ID_V_Min_Ctrl
, "", wxDefaultPosition
, wxSize(35,-1), wxTE_READONLY
)
281 item1
.AddWindow( item73
, 0, wxGROW|wxALIGN_CENTER_VERTICAL|wxLEFT|wxRIGHT|wxTOP
, 5 )
283 item74
= wxStaticText( parent
, ID_TEXT
, "V Max:", wxDefaultPosition
, wxDefaultSize
, wxALIGN_RIGHT
)
284 item1
.AddWindow( item74
, 0, wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxLEFT|wxTOP
, 5 )
286 item75
= wxTextCtrl( parent
, ID_V_Max_Ctrl
, "", wxDefaultPosition
, wxSize(35,-1), wxTE_READONLY
)
287 item1
.AddWindow( item75
, 0, wxGROW|wxALIGN_CENTER_VERTICAL|wxLEFT|wxRIGHT|wxTOP
, 5 )
289 item0
.AddSizer( item1
, 0, wxALIGN_CENTER_VERTICAL|wxALL
, 15 )
291 if set_sizer
== True:
292 parent
.SetAutoLayout( True )
293 parent
.SetSizer( item0
)
296 item0
.SetSizeHints( parent
)
305 # End of generated file