]>
Commit | Line | Data |
---|---|---|
70551f47 RD |
1 | # This file was created automatically by SWIG. |
2 | import controlsc | |
3 | ||
4 | from misc import * | |
5 | ||
6 | from windows import * | |
7 | ||
8 | from gdi import * | |
9 | ||
4120ef2b RD |
10 | from clip_dnd import * |
11 | ||
70551f47 | 12 | from events import * |
105e45b9 | 13 | import wx |
70551f47 RD |
14 | class wxControlPtr(wxWindowPtr): |
15 | def __init__(self,this): | |
16 | self.this = this | |
17 | self.thisown = 0 | |
aa2a5b86 RD |
18 | def Create(self, *_args, **_kwargs): |
19 | val = apply(controlsc.wxControl_Create,(self,) + _args, _kwargs) | |
20 | return val | |
56f5d962 RD |
21 | def Command(self, *_args, **_kwargs): |
22 | val = apply(controlsc.wxControl_Command,(self,) + _args, _kwargs) | |
23 | return val | |
2d091820 RD |
24 | def GetLabel(self, *_args, **_kwargs): |
25 | val = apply(controlsc.wxControl_GetLabel,(self,) + _args, _kwargs) | |
70551f47 | 26 | return val |
2d091820 RD |
27 | def SetLabel(self, *_args, **_kwargs): |
28 | val = apply(controlsc.wxControl_SetLabel,(self,) + _args, _kwargs) | |
70551f47 RD |
29 | return val |
30 | def __repr__(self): | |
2d091820 | 31 | return "<C wxControl instance at %s>" % (self.this,) |
70551f47 | 32 | class wxControl(wxControlPtr): |
56f5d962 RD |
33 | def __init__(self,*_args,**_kwargs): |
34 | self.this = apply(controlsc.new_wxControl,_args,_kwargs) | |
35 | self.thisown = 1 | |
0220cbc1 | 36 | self._setOORInfo(self) |
70551f47 RD |
37 | |
38 | ||
39 | ||
aa2a5b86 RD |
40 | def wxPreControl(*_args,**_kwargs): |
41 | val = wxControlPtr(apply(controlsc.new_wxPreControl,_args,_kwargs)) | |
42 | val.thisown = 1 | |
17c0e08c | 43 | val._setOORInfo(val) |
aa2a5b86 RD |
44 | return val |
45 | ||
70551f47 | 46 | |
65191ae8 RD |
47 | class wxControlWithItemsPtr(wxControlPtr): |
48 | def __init__(self,this): | |
49 | self.this = this | |
50 | self.thisown = 0 | |
51 | def Delete(self, *_args, **_kwargs): | |
52 | val = apply(controlsc.wxControlWithItems_Delete,(self,) + _args, _kwargs) | |
53 | return val | |
54 | def GetCount(self, *_args, **_kwargs): | |
55 | val = apply(controlsc.wxControlWithItems_GetCount,(self,) + _args, _kwargs) | |
56 | return val | |
57 | def GetString(self, *_args, **_kwargs): | |
58 | val = apply(controlsc.wxControlWithItems_GetString,(self,) + _args, _kwargs) | |
59 | return val | |
60 | def SetString(self, *_args, **_kwargs): | |
61 | val = apply(controlsc.wxControlWithItems_SetString,(self,) + _args, _kwargs) | |
62 | return val | |
63 | def FindString(self, *_args, **_kwargs): | |
64 | val = apply(controlsc.wxControlWithItems_FindString,(self,) + _args, _kwargs) | |
65 | return val | |
66 | def Select(self, *_args, **_kwargs): | |
67 | val = apply(controlsc.wxControlWithItems_Select,(self,) + _args, _kwargs) | |
68 | return val | |
69 | def GetSelection(self, *_args, **_kwargs): | |
70 | val = apply(controlsc.wxControlWithItems_GetSelection,(self,) + _args, _kwargs) | |
71 | return val | |
72 | def GetStringSelection(self, *_args, **_kwargs): | |
73 | val = apply(controlsc.wxControlWithItems_GetStringSelection,(self,) + _args, _kwargs) | |
74 | return val | |
75 | def Append(self, *_args, **_kwargs): | |
76 | val = apply(controlsc.wxControlWithItems_Append,(self,) + _args, _kwargs) | |
77 | return val | |
78 | def GetClientData(self, *_args, **_kwargs): | |
79 | val = apply(controlsc.wxControlWithItems_GetClientData,(self,) + _args, _kwargs) | |
80 | return val | |
81 | def SetClientData(self, *_args, **_kwargs): | |
82 | val = apply(controlsc.wxControlWithItems_SetClientData,(self,) + _args, _kwargs) | |
83 | return val | |
85247b36 RD |
84 | def AppendItems(self, *_args, **_kwargs): |
85 | val = apply(controlsc.wxControlWithItems_AppendItems,(self,) + _args, _kwargs) | |
86 | return val | |
65191ae8 RD |
87 | def __repr__(self): |
88 | return "<C wxControlWithItems instance at %s>" % (self.this,) | |
89 | Number = GetCount | |
90 | class wxControlWithItems(wxControlWithItemsPtr): | |
91 | def __init__(self,this): | |
92 | self.this = this | |
93 | ||
94 | ||
95 | ||
96 | ||
70551f47 RD |
97 | class wxButtonPtr(wxControlPtr): |
98 | def __init__(self,this): | |
99 | self.this = this | |
100 | self.thisown = 0 | |
aa2a5b86 RD |
101 | def Create(self, *_args, **_kwargs): |
102 | val = apply(controlsc.wxButton_Create,(self,) + _args, _kwargs) | |
103 | return val | |
2d091820 RD |
104 | def SetDefault(self, *_args, **_kwargs): |
105 | val = apply(controlsc.wxButton_SetDefault,(self,) + _args, _kwargs) | |
70551f47 | 106 | return val |
ab2208b5 RD |
107 | def SetBackgroundColour(self, *_args, **_kwargs): |
108 | val = apply(controlsc.wxButton_SetBackgroundColour,(self,) + _args, _kwargs) | |
109 | return val | |
110 | def SetForegroundColour(self, *_args, **_kwargs): | |
111 | val = apply(controlsc.wxButton_SetForegroundColour,(self,) + _args, _kwargs) | |
112 | return val | |
70551f47 | 113 | def __repr__(self): |
2d091820 | 114 | return "<C wxButton instance at %s>" % (self.this,) |
70551f47 | 115 | class wxButton(wxButtonPtr): |
2d091820 RD |
116 | def __init__(self,*_args,**_kwargs): |
117 | self.this = apply(controlsc.new_wxButton,_args,_kwargs) | |
70551f47 | 118 | self.thisown = 1 |
0220cbc1 | 119 | self._setOORInfo(self) |
70551f47 RD |
120 | |
121 | ||
122 | ||
aa2a5b86 RD |
123 | def wxPreButton(*_args,**_kwargs): |
124 | val = wxButtonPtr(apply(controlsc.new_wxPreButton,_args,_kwargs)) | |
125 | val.thisown = 1 | |
17c0e08c | 126 | val._setOORInfo(val) |
aa2a5b86 RD |
127 | return val |
128 | ||
70551f47 RD |
129 | |
130 | class wxBitmapButtonPtr(wxButtonPtr): | |
131 | def __init__(self,this): | |
132 | self.this = this | |
133 | self.thisown = 0 | |
aa2a5b86 RD |
134 | def Create(self, *_args, **_kwargs): |
135 | val = apply(controlsc.wxBitmapButton_Create,(self,) + _args, _kwargs) | |
136 | return val | |
2d091820 RD |
137 | def GetBitmapLabel(self, *_args, **_kwargs): |
138 | val = apply(controlsc.wxBitmapButton_GetBitmapLabel,(self,) + _args, _kwargs) | |
3e212503 | 139 | if val: val = wxBitmapPtr(val) ; val.thisown = 1 |
70551f47 | 140 | return val |
2d091820 RD |
141 | def GetBitmapDisabled(self, *_args, **_kwargs): |
142 | val = apply(controlsc.wxBitmapButton_GetBitmapDisabled,(self,) + _args, _kwargs) | |
3e212503 | 143 | if val: val = wxBitmapPtr(val) ; val.thisown = 1 |
c95e68d8 | 144 | return val |
2d091820 RD |
145 | def GetBitmapFocus(self, *_args, **_kwargs): |
146 | val = apply(controlsc.wxBitmapButton_GetBitmapFocus,(self,) + _args, _kwargs) | |
3e212503 | 147 | if val: val = wxBitmapPtr(val) ; val.thisown = 1 |
c95e68d8 | 148 | return val |
2d091820 RD |
149 | def GetBitmapSelected(self, *_args, **_kwargs): |
150 | val = apply(controlsc.wxBitmapButton_GetBitmapSelected,(self,) + _args, _kwargs) | |
3e212503 | 151 | if val: val = wxBitmapPtr(val) ; val.thisown = 1 |
c95e68d8 | 152 | return val |
2d091820 RD |
153 | def SetBitmapDisabled(self, *_args, **_kwargs): |
154 | val = apply(controlsc.wxBitmapButton_SetBitmapDisabled,(self,) + _args, _kwargs) | |
c95e68d8 | 155 | return val |
2d091820 RD |
156 | def SetBitmapFocus(self, *_args, **_kwargs): |
157 | val = apply(controlsc.wxBitmapButton_SetBitmapFocus,(self,) + _args, _kwargs) | |
c95e68d8 | 158 | return val |
2d091820 RD |
159 | def SetBitmapSelected(self, *_args, **_kwargs): |
160 | val = apply(controlsc.wxBitmapButton_SetBitmapSelected,(self,) + _args, _kwargs) | |
c95e68d8 | 161 | return val |
2d091820 RD |
162 | def SetBitmapLabel(self, *_args, **_kwargs): |
163 | val = apply(controlsc.wxBitmapButton_SetBitmapLabel,(self,) + _args, _kwargs) | |
70551f47 | 164 | return val |
f6bcfd97 BP |
165 | def SetMargins(self, *_args, **_kwargs): |
166 | val = apply(controlsc.wxBitmapButton_SetMargins,(self,) + _args, _kwargs) | |
167 | return val | |
168 | def GetMarginX(self, *_args, **_kwargs): | |
169 | val = apply(controlsc.wxBitmapButton_GetMarginX,(self,) + _args, _kwargs) | |
170 | return val | |
171 | def GetMarginY(self, *_args, **_kwargs): | |
172 | val = apply(controlsc.wxBitmapButton_GetMarginY,(self,) + _args, _kwargs) | |
173 | return val | |
70551f47 | 174 | def __repr__(self): |
2d091820 | 175 | return "<C wxBitmapButton instance at %s>" % (self.this,) |
70551f47 | 176 | class wxBitmapButton(wxBitmapButtonPtr): |
2d091820 RD |
177 | def __init__(self,*_args,**_kwargs): |
178 | self.this = apply(controlsc.new_wxBitmapButton,_args,_kwargs) | |
70551f47 | 179 | self.thisown = 1 |
0220cbc1 | 180 | self._setOORInfo(self) |
70551f47 RD |
181 | |
182 | ||
183 | ||
aa2a5b86 RD |
184 | def wxPreBitmapButton(*_args,**_kwargs): |
185 | val = wxBitmapButtonPtr(apply(controlsc.new_wxPreBitmapButton,_args,_kwargs)) | |
186 | val.thisown = 1 | |
17c0e08c | 187 | val._setOORInfo(val) |
aa2a5b86 RD |
188 | return val |
189 | ||
70551f47 RD |
190 | |
191 | class wxCheckBoxPtr(wxControlPtr): | |
192 | def __init__(self,this): | |
193 | self.this = this | |
194 | self.thisown = 0 | |
aa2a5b86 RD |
195 | def Create(self, *_args, **_kwargs): |
196 | val = apply(controlsc.wxCheckBox_Create,(self,) + _args, _kwargs) | |
197 | return val | |
2d091820 RD |
198 | def GetValue(self, *_args, **_kwargs): |
199 | val = apply(controlsc.wxCheckBox_GetValue,(self,) + _args, _kwargs) | |
70551f47 | 200 | return val |
2d091820 RD |
201 | def SetValue(self, *_args, **_kwargs): |
202 | val = apply(controlsc.wxCheckBox_SetValue,(self,) + _args, _kwargs) | |
70551f47 RD |
203 | return val |
204 | def __repr__(self): | |
2d091820 | 205 | return "<C wxCheckBox instance at %s>" % (self.this,) |
70551f47 | 206 | class wxCheckBox(wxCheckBoxPtr): |
2d091820 RD |
207 | def __init__(self,*_args,**_kwargs): |
208 | self.this = apply(controlsc.new_wxCheckBox,_args,_kwargs) | |
70551f47 | 209 | self.thisown = 1 |
0220cbc1 | 210 | self._setOORInfo(self) |
70551f47 RD |
211 | |
212 | ||
213 | ||
aa2a5b86 RD |
214 | def wxPreCheckBox(*_args,**_kwargs): |
215 | val = wxCheckBoxPtr(apply(controlsc.new_wxPreCheckBox,_args,_kwargs)) | |
216 | val.thisown = 1 | |
17c0e08c | 217 | val._setOORInfo(val) |
aa2a5b86 RD |
218 | return val |
219 | ||
70551f47 | 220 | |
65191ae8 | 221 | class wxChoicePtr(wxControlWithItemsPtr): |
70551f47 RD |
222 | def __init__(self,this): |
223 | self.this = this | |
224 | self.thisown = 0 | |
aa2a5b86 RD |
225 | def Create(self, *_args, **_kwargs): |
226 | val = apply(controlsc.wxChoice_Create,(self,) + _args, _kwargs) | |
227 | return val | |
2d091820 RD |
228 | def Clear(self, *_args, **_kwargs): |
229 | val = apply(controlsc.wxChoice_Clear,(self,) + _args, _kwargs) | |
70551f47 | 230 | return val |
2d091820 RD |
231 | def GetColumns(self, *_args, **_kwargs): |
232 | val = apply(controlsc.wxChoice_GetColumns,(self,) + _args, _kwargs) | |
70551f47 | 233 | return val |
2d091820 RD |
234 | def SetColumns(self, *_args, **_kwargs): |
235 | val = apply(controlsc.wxChoice_SetColumns,(self,) + _args, _kwargs) | |
70551f47 | 236 | return val |
2d091820 RD |
237 | def SetSelection(self, *_args, **_kwargs): |
238 | val = apply(controlsc.wxChoice_SetSelection,(self,) + _args, _kwargs) | |
70551f47 | 239 | return val |
2d091820 RD |
240 | def SetStringSelection(self, *_args, **_kwargs): |
241 | val = apply(controlsc.wxChoice_SetStringSelection,(self,) + _args, _kwargs) | |
70551f47 | 242 | return val |
2c8a649d RD |
243 | def SetString(self, *_args, **_kwargs): |
244 | val = apply(controlsc.wxChoice_SetString,(self,) + _args, _kwargs) | |
245 | return val | |
70551f47 | 246 | def __repr__(self): |
2d091820 | 247 | return "<C wxChoice instance at %s>" % (self.this,) |
2c8a649d | 248 | |
2c8a649d RD |
249 | Select = SetSelection |
250 | ||
70551f47 | 251 | class wxChoice(wxChoicePtr): |
2d091820 RD |
252 | def __init__(self,*_args,**_kwargs): |
253 | self.this = apply(controlsc.new_wxChoice,_args,_kwargs) | |
70551f47 | 254 | self.thisown = 1 |
0220cbc1 | 255 | self._setOORInfo(self) |
70551f47 RD |
256 | |
257 | ||
258 | ||
aa2a5b86 RD |
259 | def wxPreChoice(*_args,**_kwargs): |
260 | val = wxChoicePtr(apply(controlsc.new_wxPreChoice,_args,_kwargs)) | |
261 | val.thisown = 1 | |
17c0e08c | 262 | val._setOORInfo(val) |
aa2a5b86 RD |
263 | return val |
264 | ||
70551f47 | 265 | |
c70fd24f | 266 | class wxComboBoxPtr(wxControlPtr): |
70551f47 RD |
267 | def __init__(self,this): |
268 | self.this = this | |
269 | self.thisown = 0 | |
aa2a5b86 RD |
270 | def Create(self, *_args, **_kwargs): |
271 | val = apply(controlsc.wxComboBox_Create,(self,) + _args, _kwargs) | |
272 | return val | |
2d091820 RD |
273 | def Copy(self, *_args, **_kwargs): |
274 | val = apply(controlsc.wxComboBox_Copy,(self,) + _args, _kwargs) | |
70551f47 | 275 | return val |
2d091820 RD |
276 | def Cut(self, *_args, **_kwargs): |
277 | val = apply(controlsc.wxComboBox_Cut,(self,) + _args, _kwargs) | |
70551f47 | 278 | return val |
2d091820 RD |
279 | def GetInsertionPoint(self, *_args, **_kwargs): |
280 | val = apply(controlsc.wxComboBox_GetInsertionPoint,(self,) + _args, _kwargs) | |
70551f47 | 281 | return val |
2d091820 RD |
282 | def GetLastPosition(self, *_args, **_kwargs): |
283 | val = apply(controlsc.wxComboBox_GetLastPosition,(self,) + _args, _kwargs) | |
70551f47 | 284 | return val |
2d091820 RD |
285 | def GetValue(self, *_args, **_kwargs): |
286 | val = apply(controlsc.wxComboBox_GetValue,(self,) + _args, _kwargs) | |
70551f47 | 287 | return val |
2d091820 RD |
288 | def Paste(self, *_args, **_kwargs): |
289 | val = apply(controlsc.wxComboBox_Paste,(self,) + _args, _kwargs) | |
70551f47 | 290 | return val |
2d091820 RD |
291 | def Replace(self, *_args, **_kwargs): |
292 | val = apply(controlsc.wxComboBox_Replace,(self,) + _args, _kwargs) | |
70551f47 | 293 | return val |
2d091820 RD |
294 | def Remove(self, *_args, **_kwargs): |
295 | val = apply(controlsc.wxComboBox_Remove,(self,) + _args, _kwargs) | |
70551f47 | 296 | return val |
2d091820 RD |
297 | def SetInsertionPoint(self, *_args, **_kwargs): |
298 | val = apply(controlsc.wxComboBox_SetInsertionPoint,(self,) + _args, _kwargs) | |
70551f47 | 299 | return val |
2d091820 RD |
300 | def SetInsertionPointEnd(self, *_args, **_kwargs): |
301 | val = apply(controlsc.wxComboBox_SetInsertionPointEnd,(self,) + _args, _kwargs) | |
70551f47 | 302 | return val |
2d091820 RD |
303 | def SetSelection(self, *_args, **_kwargs): |
304 | val = apply(controlsc.wxComboBox_SetSelection,(self,) + _args, _kwargs) | |
70551f47 | 305 | return val |
2d091820 RD |
306 | def SetMark(self, *_args, **_kwargs): |
307 | val = apply(controlsc.wxComboBox_SetMark,(self,) + _args, _kwargs) | |
308 | return val | |
309 | def SetValue(self, *_args, **_kwargs): | |
310 | val = apply(controlsc.wxComboBox_SetValue,(self,) + _args, _kwargs) | |
70551f47 | 311 | return val |
2c8a649d RD |
312 | def SetEditable(self, *_args, **_kwargs): |
313 | val = apply(controlsc.wxComboBox_SetEditable,(self,) + _args, _kwargs) | |
314 | return val | |
c70fd24f RD |
315 | def Clear(self, *_args, **_kwargs): |
316 | val = apply(controlsc.wxComboBox_Clear,(self,) + _args, _kwargs) | |
317 | return val | |
318 | def Delete(self, *_args, **_kwargs): | |
319 | val = apply(controlsc.wxComboBox_Delete,(self,) + _args, _kwargs) | |
320 | return val | |
321 | def GetCount(self, *_args, **_kwargs): | |
322 | val = apply(controlsc.wxComboBox_GetCount,(self,) + _args, _kwargs) | |
323 | return val | |
324 | def GetString(self, *_args, **_kwargs): | |
325 | val = apply(controlsc.wxComboBox_GetString,(self,) + _args, _kwargs) | |
326 | return val | |
327 | def FindString(self, *_args, **_kwargs): | |
328 | val = apply(controlsc.wxComboBox_FindString,(self,) + _args, _kwargs) | |
329 | return val | |
330 | def GetSelection(self, *_args, **_kwargs): | |
331 | val = apply(controlsc.wxComboBox_GetSelection,(self,) + _args, _kwargs) | |
332 | return val | |
333 | def GetStringSelection(self, *_args, **_kwargs): | |
334 | val = apply(controlsc.wxComboBox_GetStringSelection,(self,) + _args, _kwargs) | |
335 | return val | |
336 | def Append(self, *_args, **_kwargs): | |
337 | val = apply(controlsc.wxComboBox_Append,(self,) + _args, _kwargs) | |
338 | return val | |
339 | def GetClientData(self, *_args, **_kwargs): | |
340 | val = apply(controlsc.wxComboBox_GetClientData,(self,) + _args, _kwargs) | |
341 | return val | |
342 | def SetClientData(self, *_args, **_kwargs): | |
343 | val = apply(controlsc.wxComboBox_SetClientData,(self,) + _args, _kwargs) | |
344 | return val | |
70551f47 | 345 | def __repr__(self): |
2d091820 | 346 | return "<C wxComboBox instance at %s>" % (self.this,) |
c70fd24f RD |
347 | Number = GetCount |
348 | Select = SetSelection | |
70551f47 | 349 | class wxComboBox(wxComboBoxPtr): |
2d091820 RD |
350 | def __init__(self,*_args,**_kwargs): |
351 | self.this = apply(controlsc.new_wxComboBox,_args,_kwargs) | |
70551f47 | 352 | self.thisown = 1 |
0220cbc1 | 353 | self._setOORInfo(self) |
70551f47 RD |
354 | |
355 | ||
356 | ||
aa2a5b86 RD |
357 | def wxPreComboBox(*_args,**_kwargs): |
358 | val = wxComboBoxPtr(apply(controlsc.new_wxPreComboBox,_args,_kwargs)) | |
359 | val.thisown = 1 | |
17c0e08c | 360 | val._setOORInfo(val) |
aa2a5b86 RD |
361 | return val |
362 | ||
70551f47 RD |
363 | |
364 | class wxGaugePtr(wxControlPtr): | |
365 | def __init__(self,this): | |
366 | self.this = this | |
367 | self.thisown = 0 | |
aa2a5b86 RD |
368 | def Create(self, *_args, **_kwargs): |
369 | val = apply(controlsc.wxGauge_Create,(self,) + _args, _kwargs) | |
370 | return val | |
2d091820 RD |
371 | def GetBezelFace(self, *_args, **_kwargs): |
372 | val = apply(controlsc.wxGauge_GetBezelFace,(self,) + _args, _kwargs) | |
70551f47 | 373 | return val |
2d091820 RD |
374 | def GetRange(self, *_args, **_kwargs): |
375 | val = apply(controlsc.wxGauge_GetRange,(self,) + _args, _kwargs) | |
70551f47 | 376 | return val |
2d091820 RD |
377 | def GetShadowWidth(self, *_args, **_kwargs): |
378 | val = apply(controlsc.wxGauge_GetShadowWidth,(self,) + _args, _kwargs) | |
70551f47 | 379 | return val |
2d091820 RD |
380 | def GetValue(self, *_args, **_kwargs): |
381 | val = apply(controlsc.wxGauge_GetValue,(self,) + _args, _kwargs) | |
70551f47 | 382 | return val |
2d091820 RD |
383 | def SetBezelFace(self, *_args, **_kwargs): |
384 | val = apply(controlsc.wxGauge_SetBezelFace,(self,) + _args, _kwargs) | |
70551f47 | 385 | return val |
2d091820 RD |
386 | def SetRange(self, *_args, **_kwargs): |
387 | val = apply(controlsc.wxGauge_SetRange,(self,) + _args, _kwargs) | |
70551f47 | 388 | return val |
2d091820 RD |
389 | def SetShadowWidth(self, *_args, **_kwargs): |
390 | val = apply(controlsc.wxGauge_SetShadowWidth,(self,) + _args, _kwargs) | |
70551f47 | 391 | return val |
2d091820 RD |
392 | def SetValue(self, *_args, **_kwargs): |
393 | val = apply(controlsc.wxGauge_SetValue,(self,) + _args, _kwargs) | |
70551f47 RD |
394 | return val |
395 | def __repr__(self): | |
2d091820 | 396 | return "<C wxGauge instance at %s>" % (self.this,) |
70551f47 | 397 | class wxGauge(wxGaugePtr): |
2d091820 RD |
398 | def __init__(self,*_args,**_kwargs): |
399 | self.this = apply(controlsc.new_wxGauge,_args,_kwargs) | |
70551f47 | 400 | self.thisown = 1 |
0220cbc1 | 401 | self._setOORInfo(self) |
70551f47 RD |
402 | |
403 | ||
404 | ||
aa2a5b86 RD |
405 | def wxPreGauge(*_args,**_kwargs): |
406 | val = wxGaugePtr(apply(controlsc.new_wxPreGauge,_args,_kwargs)) | |
407 | val.thisown = 1 | |
17c0e08c | 408 | val._setOORInfo(val) |
aa2a5b86 RD |
409 | return val |
410 | ||
70551f47 RD |
411 | |
412 | class wxStaticBoxPtr(wxControlPtr): | |
413 | def __init__(self,this): | |
414 | self.this = this | |
415 | self.thisown = 0 | |
aa2a5b86 RD |
416 | def Create(self, *_args, **_kwargs): |
417 | val = apply(controlsc.wxStaticBox_Create,(self,) + _args, _kwargs) | |
418 | return val | |
70551f47 | 419 | def __repr__(self): |
2d091820 | 420 | return "<C wxStaticBox instance at %s>" % (self.this,) |
70551f47 | 421 | class wxStaticBox(wxStaticBoxPtr): |
2d091820 RD |
422 | def __init__(self,*_args,**_kwargs): |
423 | self.this = apply(controlsc.new_wxStaticBox,_args,_kwargs) | |
70551f47 | 424 | self.thisown = 1 |
0220cbc1 | 425 | self._setOORInfo(self) |
70551f47 RD |
426 | |
427 | ||
428 | ||
aa2a5b86 RD |
429 | def wxPreStaticBox(*_args,**_kwargs): |
430 | val = wxStaticBoxPtr(apply(controlsc.new_wxPreStaticBox,_args,_kwargs)) | |
431 | val.thisown = 1 | |
17c0e08c | 432 | val._setOORInfo(val) |
aa2a5b86 RD |
433 | return val |
434 | ||
70551f47 | 435 | |
d24a34bb RD |
436 | class wxStaticLinePtr(wxControlPtr): |
437 | def __init__(self,this): | |
438 | self.this = this | |
439 | self.thisown = 0 | |
aa2a5b86 RD |
440 | def Create(self, *_args, **_kwargs): |
441 | val = apply(controlsc.wxStaticLine_Create,(self,) + _args, _kwargs) | |
442 | return val | |
d24a34bb | 443 | def __repr__(self): |
2d091820 | 444 | return "<C wxStaticLine instance at %s>" % (self.this,) |
d24a34bb | 445 | class wxStaticLine(wxStaticLinePtr): |
2d091820 RD |
446 | def __init__(self,*_args,**_kwargs): |
447 | self.this = apply(controlsc.new_wxStaticLine,_args,_kwargs) | |
d24a34bb | 448 | self.thisown = 1 |
0220cbc1 | 449 | self._setOORInfo(self) |
d24a34bb RD |
450 | |
451 | ||
452 | ||
aa2a5b86 RD |
453 | def wxPreStaticLine(*_args,**_kwargs): |
454 | val = wxStaticLinePtr(apply(controlsc.new_wxPreStaticLine,_args,_kwargs)) | |
455 | val.thisown = 1 | |
17c0e08c | 456 | val._setOORInfo(val) |
aa2a5b86 RD |
457 | return val |
458 | ||
d24a34bb | 459 | |
70551f47 RD |
460 | class wxStaticTextPtr(wxControlPtr): |
461 | def __init__(self,this): | |
462 | self.this = this | |
463 | self.thisown = 0 | |
aa2a5b86 RD |
464 | def Create(self, *_args, **_kwargs): |
465 | val = apply(controlsc.wxStaticText_Create,(self,) + _args, _kwargs) | |
466 | return val | |
2d091820 RD |
467 | def GetLabel(self, *_args, **_kwargs): |
468 | val = apply(controlsc.wxStaticText_GetLabel,(self,) + _args, _kwargs) | |
70551f47 | 469 | return val |
2d091820 RD |
470 | def SetLabel(self, *_args, **_kwargs): |
471 | val = apply(controlsc.wxStaticText_SetLabel,(self,) + _args, _kwargs) | |
70551f47 RD |
472 | return val |
473 | def __repr__(self): | |
2d091820 | 474 | return "<C wxStaticText instance at %s>" % (self.this,) |
70551f47 | 475 | class wxStaticText(wxStaticTextPtr): |
2d091820 RD |
476 | def __init__(self,*_args,**_kwargs): |
477 | self.this = apply(controlsc.new_wxStaticText,_args,_kwargs) | |
70551f47 | 478 | self.thisown = 1 |
0220cbc1 | 479 | self._setOORInfo(self) |
70551f47 RD |
480 | |
481 | ||
482 | ||
aa2a5b86 RD |
483 | def wxPreStaticText(*_args,**_kwargs): |
484 | val = wxStaticTextPtr(apply(controlsc.new_wxPreStaticText,_args,_kwargs)) | |
485 | val.thisown = 1 | |
17c0e08c | 486 | val._setOORInfo(val) |
aa2a5b86 RD |
487 | return val |
488 | ||
70551f47 | 489 | |
65191ae8 | 490 | class wxListBoxPtr(wxControlWithItemsPtr): |
70551f47 RD |
491 | def __init__(self,this): |
492 | self.this = this | |
493 | self.thisown = 0 | |
aa2a5b86 RD |
494 | def Create(self, *_args, **_kwargs): |
495 | val = apply(controlsc.wxListBox_Create,(self,) + _args, _kwargs) | |
496 | return val | |
2d091820 RD |
497 | def Clear(self, *_args, **_kwargs): |
498 | val = apply(controlsc.wxListBox_Clear,(self,) + _args, _kwargs) | |
70551f47 | 499 | return val |
2d091820 RD |
500 | def Deselect(self, *_args, **_kwargs): |
501 | val = apply(controlsc.wxListBox_Deselect,(self,) + _args, _kwargs) | |
70551f47 | 502 | return val |
2d091820 RD |
503 | def GetSelections(self, *_args, **_kwargs): |
504 | val = apply(controlsc.wxListBox_GetSelections,(self,) + _args, _kwargs) | |
ab9bc19b | 505 | return val |
37f6a977 RD |
506 | def InsertItems(self, *_args, **_kwargs): |
507 | val = apply(controlsc.wxListBox_InsertItems,(self,) + _args, _kwargs) | |
508 | return val | |
2c8a649d RD |
509 | def IsSelected(self, *_args, **_kwargs): |
510 | val = apply(controlsc.wxListBox_IsSelected,(self,) + _args, _kwargs) | |
70551f47 | 511 | return val |
2d091820 RD |
512 | def Selected(self, *_args, **_kwargs): |
513 | val = apply(controlsc.wxListBox_Selected,(self,) + _args, _kwargs) | |
70551f47 | 514 | return val |
2d091820 RD |
515 | def Set(self, *_args, **_kwargs): |
516 | val = apply(controlsc.wxListBox_Set,(self,) + _args, _kwargs) | |
70551f47 | 517 | return val |
2d091820 RD |
518 | def SetFirstItem(self, *_args, **_kwargs): |
519 | val = apply(controlsc.wxListBox_SetFirstItem,(self,) + _args, _kwargs) | |
70551f47 | 520 | return val |
2d091820 RD |
521 | def SetFirstItemStr(self, *_args, **_kwargs): |
522 | val = apply(controlsc.wxListBox_SetFirstItemStr,(self,) + _args, _kwargs) | |
70551f47 | 523 | return val |
2d091820 RD |
524 | def SetSelection(self, *_args, **_kwargs): |
525 | val = apply(controlsc.wxListBox_SetSelection,(self,) + _args, _kwargs) | |
70551f47 | 526 | return val |
2d091820 RD |
527 | def SetString(self, *_args, **_kwargs): |
528 | val = apply(controlsc.wxListBox_SetString,(self,) + _args, _kwargs) | |
70551f47 | 529 | return val |
2d091820 RD |
530 | def SetStringSelection(self, *_args, **_kwargs): |
531 | val = apply(controlsc.wxListBox_SetStringSelection,(self,) + _args, _kwargs) | |
70551f47 RD |
532 | return val |
533 | def __repr__(self): | |
2d091820 | 534 | return "<C wxListBox instance at %s>" % (self.this,) |
70551f47 | 535 | class wxListBox(wxListBoxPtr): |
2d091820 RD |
536 | def __init__(self,*_args,**_kwargs): |
537 | self.this = apply(controlsc.new_wxListBox,_args,_kwargs) | |
70551f47 | 538 | self.thisown = 1 |
0220cbc1 | 539 | self._setOORInfo(self) |
70551f47 RD |
540 | |
541 | ||
542 | ||
aa2a5b86 RD |
543 | def wxPreListBox(*_args,**_kwargs): |
544 | val = wxListBoxPtr(apply(controlsc.new_wxPreListBox,_args,_kwargs)) | |
545 | val.thisown = 1 | |
17c0e08c | 546 | val._setOORInfo(val) |
aa2a5b86 RD |
547 | return val |
548 | ||
70551f47 | 549 | |
c95e68d8 RD |
550 | class wxCheckListBoxPtr(wxListBoxPtr): |
551 | def __init__(self,this): | |
552 | self.this = this | |
553 | self.thisown = 0 | |
aa2a5b86 RD |
554 | def Create(self, *_args, **_kwargs): |
555 | val = apply(controlsc.wxCheckListBox_Create,(self,) + _args, _kwargs) | |
556 | return val | |
2d091820 RD |
557 | def IsChecked(self, *_args, **_kwargs): |
558 | val = apply(controlsc.wxCheckListBox_IsChecked,(self,) + _args, _kwargs) | |
c95e68d8 | 559 | return val |
2d091820 RD |
560 | def Check(self, *_args, **_kwargs): |
561 | val = apply(controlsc.wxCheckListBox_Check,(self,) + _args, _kwargs) | |
c95e68d8 | 562 | return val |
d29aba2f RD |
563 | def InsertItems(self, *_args, **_kwargs): |
564 | val = apply(controlsc.wxCheckListBox_InsertItems,(self,) + _args, _kwargs) | |
565 | return val | |
2d091820 RD |
566 | def GetItemHeight(self, *_args, **_kwargs): |
567 | val = apply(controlsc.wxCheckListBox_GetItemHeight,(self,) + _args, _kwargs) | |
c95e68d8 RD |
568 | return val |
569 | def __repr__(self): | |
2d091820 | 570 | return "<C wxCheckListBox instance at %s>" % (self.this,) |
c95e68d8 | 571 | class wxCheckListBox(wxCheckListBoxPtr): |
2d091820 RD |
572 | def __init__(self,*_args,**_kwargs): |
573 | self.this = apply(controlsc.new_wxCheckListBox,_args,_kwargs) | |
c95e68d8 | 574 | self.thisown = 1 |
0220cbc1 | 575 | self._setOORInfo(self) |
c95e68d8 RD |
576 | |
577 | ||
578 | ||
aa2a5b86 RD |
579 | def wxPreCheckListBox(*_args,**_kwargs): |
580 | val = wxCheckListBoxPtr(apply(controlsc.new_wxPreCheckListBox,_args,_kwargs)) | |
581 | val.thisown = 1 | |
17c0e08c | 582 | val._setOORInfo(val) |
aa2a5b86 RD |
583 | return val |
584 | ||
c95e68d8 | 585 | |
9d6da64a RD |
586 | class wxTextAttrPtr : |
587 | def __init__(self,this): | |
588 | self.this = this | |
589 | self.thisown = 0 | |
590 | def __del__(self,controlsc=controlsc): | |
591 | if self.thisown == 1 : | |
592 | controlsc.delete_wxTextAttr(self) | |
593 | def SetTextColour(self, *_args, **_kwargs): | |
594 | val = apply(controlsc.wxTextAttr_SetTextColour,(self,) + _args, _kwargs) | |
595 | return val | |
596 | def SetBackgroundColour(self, *_args, **_kwargs): | |
597 | val = apply(controlsc.wxTextAttr_SetBackgroundColour,(self,) + _args, _kwargs) | |
598 | return val | |
599 | def SetFont(self, *_args, **_kwargs): | |
600 | val = apply(controlsc.wxTextAttr_SetFont,(self,) + _args, _kwargs) | |
601 | return val | |
602 | def HasTextColour(self, *_args, **_kwargs): | |
603 | val = apply(controlsc.wxTextAttr_HasTextColour,(self,) + _args, _kwargs) | |
604 | return val | |
605 | def HasBackgroundColour(self, *_args, **_kwargs): | |
606 | val = apply(controlsc.wxTextAttr_HasBackgroundColour,(self,) + _args, _kwargs) | |
607 | return val | |
608 | def HasFont(self, *_args, **_kwargs): | |
609 | val = apply(controlsc.wxTextAttr_HasFont,(self,) + _args, _kwargs) | |
610 | return val | |
611 | def GetTextColour(self, *_args, **_kwargs): | |
612 | val = apply(controlsc.wxTextAttr_GetTextColour,(self,) + _args, _kwargs) | |
3e212503 | 613 | if val: val = wxColourPtr(val) ; val.thisown = 1 |
9d6da64a RD |
614 | return val |
615 | def GetBackgroundColour(self, *_args, **_kwargs): | |
616 | val = apply(controlsc.wxTextAttr_GetBackgroundColour,(self,) + _args, _kwargs) | |
3e212503 | 617 | if val: val = wxColourPtr(val) ; val.thisown = 1 |
9d6da64a RD |
618 | return val |
619 | def GetFont(self, *_args, **_kwargs): | |
620 | val = apply(controlsc.wxTextAttr_GetFont,(self,) + _args, _kwargs) | |
3e212503 | 621 | if val: val = wxFontPtr(val) ; val.thisown = 1 |
9d6da64a | 622 | return val |
a57d56d6 RD |
623 | def IsDefault(self, *_args, **_kwargs): |
624 | val = apply(controlsc.wxTextAttr_IsDefault,(self,) + _args, _kwargs) | |
625 | return val | |
9d6da64a RD |
626 | def __repr__(self): |
627 | return "<C wxTextAttr instance at %s>" % (self.this,) | |
628 | class wxTextAttr(wxTextAttrPtr): | |
629 | def __init__(self,*_args,**_kwargs): | |
630 | self.this = apply(controlsc.new_wxTextAttr,_args,_kwargs) | |
631 | self.thisown = 1 | |
632 | ||
633 | ||
634 | ||
635 | ||
70551f47 RD |
636 | class wxTextCtrlPtr(wxControlPtr): |
637 | def __init__(self,this): | |
638 | self.this = this | |
639 | self.thisown = 0 | |
aa2a5b86 RD |
640 | def Create(self, *_args, **_kwargs): |
641 | val = apply(controlsc.wxTextCtrl_Create,(self,) + _args, _kwargs) | |
642 | return val | |
a57d56d6 RD |
643 | def GetValue(self, *_args, **_kwargs): |
644 | val = apply(controlsc.wxTextCtrl_GetValue,(self,) + _args, _kwargs) | |
70551f47 | 645 | return val |
a57d56d6 RD |
646 | def SetValue(self, *_args, **_kwargs): |
647 | val = apply(controlsc.wxTextCtrl_SetValue,(self,) + _args, _kwargs) | |
70551f47 | 648 | return val |
db34b2d4 RD |
649 | def GetRange(self, *_args, **_kwargs): |
650 | val = apply(controlsc.wxTextCtrl_GetRange,(self,) + _args, _kwargs) | |
651 | return val | |
2d091820 RD |
652 | def GetLineLength(self, *_args, **_kwargs): |
653 | val = apply(controlsc.wxTextCtrl_GetLineLength,(self,) + _args, _kwargs) | |
faf3cb35 | 654 | return val |
2d091820 RD |
655 | def GetLineText(self, *_args, **_kwargs): |
656 | val = apply(controlsc.wxTextCtrl_GetLineText,(self,) + _args, _kwargs) | |
faf3cb35 | 657 | return val |
2d091820 RD |
658 | def GetNumberOfLines(self, *_args, **_kwargs): |
659 | val = apply(controlsc.wxTextCtrl_GetNumberOfLines,(self,) + _args, _kwargs) | |
faf3cb35 | 660 | return val |
2d091820 RD |
661 | def IsModified(self, *_args, **_kwargs): |
662 | val = apply(controlsc.wxTextCtrl_IsModified,(self,) + _args, _kwargs) | |
70551f47 | 663 | return val |
a57d56d6 RD |
664 | def IsEditable(self, *_args, **_kwargs): |
665 | val = apply(controlsc.wxTextCtrl_IsEditable,(self,) + _args, _kwargs) | |
70551f47 | 666 | return val |
a57d56d6 RD |
667 | def GetSelection(self, *_args, **_kwargs): |
668 | val = apply(controlsc.wxTextCtrl_GetSelection,(self,) + _args, _kwargs) | |
70551f47 | 669 | return val |
93283355 RD |
670 | def GetStringSelection(self, *_args, **_kwargs): |
671 | val = apply(controlsc.wxTextCtrl_GetStringSelection,(self,) + _args, _kwargs) | |
672 | return val | |
a57d56d6 RD |
673 | def Clear(self, *_args, **_kwargs): |
674 | val = apply(controlsc.wxTextCtrl_Clear,(self,) + _args, _kwargs) | |
675 | return val | |
676 | def Replace(self, *_args, **_kwargs): | |
677 | val = apply(controlsc.wxTextCtrl_Replace,(self,) + _args, _kwargs) | |
faf3cb35 | 678 | return val |
2d091820 RD |
679 | def Remove(self, *_args, **_kwargs): |
680 | val = apply(controlsc.wxTextCtrl_Remove,(self,) + _args, _kwargs) | |
70551f47 | 681 | return val |
a57d56d6 RD |
682 | def LoadFile(self, *_args, **_kwargs): |
683 | val = apply(controlsc.wxTextCtrl_LoadFile,(self,) + _args, _kwargs) | |
70551f47 | 684 | return val |
2d091820 RD |
685 | def SaveFile(self, *_args, **_kwargs): |
686 | val = apply(controlsc.wxTextCtrl_SaveFile,(self,) + _args, _kwargs) | |
70551f47 | 687 | return val |
a57d56d6 RD |
688 | def DiscardEdits(self, *_args, **_kwargs): |
689 | val = apply(controlsc.wxTextCtrl_DiscardEdits,(self,) + _args, _kwargs) | |
70551f47 | 690 | return val |
a57d56d6 RD |
691 | def SetMaxLength(self, *_args, **_kwargs): |
692 | val = apply(controlsc.wxTextCtrl_SetMaxLength,(self,) + _args, _kwargs) | |
70551f47 | 693 | return val |
2d091820 RD |
694 | def WriteText(self, *_args, **_kwargs): |
695 | val = apply(controlsc.wxTextCtrl_WriteText,(self,) + _args, _kwargs) | |
70551f47 | 696 | return val |
2d091820 RD |
697 | def AppendText(self, *_args, **_kwargs): |
698 | val = apply(controlsc.wxTextCtrl_AppendText,(self,) + _args, _kwargs) | |
ab9bc19b | 699 | return val |
a57d56d6 RD |
700 | def SetStyle(self, *_args, **_kwargs): |
701 | val = apply(controlsc.wxTextCtrl_SetStyle,(self,) + _args, _kwargs) | |
702 | return val | |
703 | def SetDefaultStyle(self, *_args, **_kwargs): | |
704 | val = apply(controlsc.wxTextCtrl_SetDefaultStyle,(self,) + _args, _kwargs) | |
705 | return val | |
706 | def GetDefaultStyle(self, *_args, **_kwargs): | |
707 | val = apply(controlsc.wxTextCtrl_GetDefaultStyle,(self,) + _args, _kwargs) | |
708 | if val: val = wxTextAttrPtr(val) | |
709 | return val | |
2d091820 RD |
710 | def XYToPosition(self, *_args, **_kwargs): |
711 | val = apply(controlsc.wxTextCtrl_XYToPosition,(self,) + _args, _kwargs) | |
faf3cb35 | 712 | return val |
a57d56d6 RD |
713 | def PositionToXY(self, *_args, **_kwargs): |
714 | val = apply(controlsc.wxTextCtrl_PositionToXY,(self,) + _args, _kwargs) | |
715 | return val | |
716 | def ShowPosition(self, *_args, **_kwargs): | |
717 | val = apply(controlsc.wxTextCtrl_ShowPosition,(self,) + _args, _kwargs) | |
718 | return val | |
719 | def Copy(self, *_args, **_kwargs): | |
720 | val = apply(controlsc.wxTextCtrl_Copy,(self,) + _args, _kwargs) | |
721 | return val | |
722 | def Cut(self, *_args, **_kwargs): | |
723 | val = apply(controlsc.wxTextCtrl_Cut,(self,) + _args, _kwargs) | |
724 | return val | |
725 | def Paste(self, *_args, **_kwargs): | |
726 | val = apply(controlsc.wxTextCtrl_Paste,(self,) + _args, _kwargs) | |
727 | return val | |
2d091820 RD |
728 | def CanCopy(self, *_args, **_kwargs): |
729 | val = apply(controlsc.wxTextCtrl_CanCopy,(self,) + _args, _kwargs) | |
53920141 | 730 | return val |
2d091820 RD |
731 | def CanCut(self, *_args, **_kwargs): |
732 | val = apply(controlsc.wxTextCtrl_CanCut,(self,) + _args, _kwargs) | |
53920141 | 733 | return val |
2d091820 RD |
734 | def CanPaste(self, *_args, **_kwargs): |
735 | val = apply(controlsc.wxTextCtrl_CanPaste,(self,) + _args, _kwargs) | |
53920141 | 736 | return val |
a57d56d6 RD |
737 | def Undo(self, *_args, **_kwargs): |
738 | val = apply(controlsc.wxTextCtrl_Undo,(self,) + _args, _kwargs) | |
739 | return val | |
740 | def Redo(self, *_args, **_kwargs): | |
741 | val = apply(controlsc.wxTextCtrl_Redo,(self,) + _args, _kwargs) | |
53920141 | 742 | return val |
2d091820 RD |
743 | def CanUndo(self, *_args, **_kwargs): |
744 | val = apply(controlsc.wxTextCtrl_CanUndo,(self,) + _args, _kwargs) | |
53920141 | 745 | return val |
a57d56d6 RD |
746 | def CanRedo(self, *_args, **_kwargs): |
747 | val = apply(controlsc.wxTextCtrl_CanRedo,(self,) + _args, _kwargs) | |
53920141 | 748 | return val |
a57d56d6 RD |
749 | def SetInsertionPoint(self, *_args, **_kwargs): |
750 | val = apply(controlsc.wxTextCtrl_SetInsertionPoint,(self,) + _args, _kwargs) | |
53920141 | 751 | return val |
a57d56d6 RD |
752 | def SetInsertionPointEnd(self, *_args, **_kwargs): |
753 | val = apply(controlsc.wxTextCtrl_SetInsertionPointEnd,(self,) + _args, _kwargs) | |
4120ef2b | 754 | return val |
a57d56d6 RD |
755 | def GetInsertionPoint(self, *_args, **_kwargs): |
756 | val = apply(controlsc.wxTextCtrl_GetInsertionPoint,(self,) + _args, _kwargs) | |
4120ef2b | 757 | return val |
a57d56d6 RD |
758 | def GetLastPosition(self, *_args, **_kwargs): |
759 | val = apply(controlsc.wxTextCtrl_GetLastPosition,(self,) + _args, _kwargs) | |
9d6da64a | 760 | return val |
a57d56d6 RD |
761 | def SetSelection(self, *_args, **_kwargs): |
762 | val = apply(controlsc.wxTextCtrl_SetSelection,(self,) + _args, _kwargs) | |
9d6da64a | 763 | return val |
a57d56d6 RD |
764 | def SelectAll(self, *_args, **_kwargs): |
765 | val = apply(controlsc.wxTextCtrl_SelectAll,(self,) + _args, _kwargs) | |
9d6da64a | 766 | return val |
a57d56d6 RD |
767 | def SetEditable(self, *_args, **_kwargs): |
768 | val = apply(controlsc.wxTextCtrl_SetEditable,(self,) + _args, _kwargs) | |
aa2a5b86 | 769 | return val |
4120ef2b RD |
770 | def write(self, *_args, **_kwargs): |
771 | val = apply(controlsc.wxTextCtrl_write,(self,) + _args, _kwargs) | |
772 | return val | |
7a9b33db RD |
773 | def GetString(self, *_args, **_kwargs): |
774 | val = apply(controlsc.wxTextCtrl_GetString,(self,) + _args, _kwargs) | |
775 | return val | |
70551f47 | 776 | def __repr__(self): |
2d091820 | 777 | return "<C wxTextCtrl instance at %s>" % (self.this,) |
70551f47 | 778 | class wxTextCtrl(wxTextCtrlPtr): |
2d091820 RD |
779 | def __init__(self,*_args,**_kwargs): |
780 | self.this = apply(controlsc.new_wxTextCtrl,_args,_kwargs) | |
70551f47 | 781 | self.thisown = 1 |
0220cbc1 | 782 | self._setOORInfo(self) |
70551f47 RD |
783 | |
784 | ||
785 | ||
aa2a5b86 RD |
786 | def wxPreTextCtrl(*_args,**_kwargs): |
787 | val = wxTextCtrlPtr(apply(controlsc.new_wxPreTextCtrl,_args,_kwargs)) | |
788 | val.thisown = 1 | |
17c0e08c | 789 | val._setOORInfo(val) |
aa2a5b86 RD |
790 | return val |
791 | ||
70551f47 RD |
792 | |
793 | class wxScrollBarPtr(wxControlPtr): | |
794 | def __init__(self,this): | |
795 | self.this = this | |
796 | self.thisown = 0 | |
aa2a5b86 RD |
797 | def Create(self, *_args, **_kwargs): |
798 | val = apply(controlsc.wxScrollBar_Create,(self,) + _args, _kwargs) | |
799 | return val | |
2d091820 RD |
800 | def GetRange(self, *_args, **_kwargs): |
801 | val = apply(controlsc.wxScrollBar_GetRange,(self,) + _args, _kwargs) | |
70551f47 | 802 | return val |
2d091820 RD |
803 | def GetPageSize(self, *_args, **_kwargs): |
804 | val = apply(controlsc.wxScrollBar_GetPageSize,(self,) + _args, _kwargs) | |
70551f47 | 805 | return val |
2d091820 RD |
806 | def GetThumbPosition(self, *_args, **_kwargs): |
807 | val = apply(controlsc.wxScrollBar_GetThumbPosition,(self,) + _args, _kwargs) | |
70551f47 | 808 | return val |
2d091820 RD |
809 | def GetThumbSize(self, *_args, **_kwargs): |
810 | val = apply(controlsc.wxScrollBar_GetThumbSize,(self,) + _args, _kwargs) | |
70551f47 | 811 | return val |
2fc99549 RD |
812 | def GetThumbLength(self, *_args, **_kwargs): |
813 | val = apply(controlsc.wxScrollBar_GetThumbLength,(self,) + _args, _kwargs) | |
814 | return val | |
6e8a778a RD |
815 | def IsVertical(self, *_args, **_kwargs): |
816 | val = apply(controlsc.wxScrollBar_IsVertical,(self,) + _args, _kwargs) | |
817 | return val | |
2d091820 RD |
818 | def SetThumbPosition(self, *_args, **_kwargs): |
819 | val = apply(controlsc.wxScrollBar_SetThumbPosition,(self,) + _args, _kwargs) | |
70551f47 | 820 | return val |
2d091820 RD |
821 | def SetScrollbar(self, *_args, **_kwargs): |
822 | val = apply(controlsc.wxScrollBar_SetScrollbar,(self,) + _args, _kwargs) | |
70551f47 RD |
823 | return val |
824 | def __repr__(self): | |
2d091820 | 825 | return "<C wxScrollBar instance at %s>" % (self.this,) |
70551f47 | 826 | class wxScrollBar(wxScrollBarPtr): |
2d091820 RD |
827 | def __init__(self,*_args,**_kwargs): |
828 | self.this = apply(controlsc.new_wxScrollBar,_args,_kwargs) | |
70551f47 | 829 | self.thisown = 1 |
0220cbc1 | 830 | self._setOORInfo(self) |
70551f47 RD |
831 | |
832 | ||
833 | ||
aa2a5b86 RD |
834 | def wxPreScrollBar(*_args,**_kwargs): |
835 | val = wxScrollBarPtr(apply(controlsc.new_wxPreScrollBar,_args,_kwargs)) | |
836 | val.thisown = 1 | |
17c0e08c | 837 | val._setOORInfo(val) |
aa2a5b86 RD |
838 | return val |
839 | ||
70551f47 | 840 | |
62bd0874 RD |
841 | class wxSpinButtonPtr(wxControlPtr): |
842 | def __init__(self,this): | |
843 | self.this = this | |
844 | self.thisown = 0 | |
aa2a5b86 RD |
845 | def Create(self, *_args, **_kwargs): |
846 | val = apply(controlsc.wxSpinButton_Create,(self,) + _args, _kwargs) | |
847 | return val | |
2d091820 RD |
848 | def GetMax(self, *_args, **_kwargs): |
849 | val = apply(controlsc.wxSpinButton_GetMax,(self,) + _args, _kwargs) | |
62bd0874 | 850 | return val |
2d091820 RD |
851 | def GetMin(self, *_args, **_kwargs): |
852 | val = apply(controlsc.wxSpinButton_GetMin,(self,) + _args, _kwargs) | |
62bd0874 | 853 | return val |
2d091820 RD |
854 | def GetValue(self, *_args, **_kwargs): |
855 | val = apply(controlsc.wxSpinButton_GetValue,(self,) + _args, _kwargs) | |
62bd0874 | 856 | return val |
2d091820 RD |
857 | def SetRange(self, *_args, **_kwargs): |
858 | val = apply(controlsc.wxSpinButton_SetRange,(self,) + _args, _kwargs) | |
62bd0874 | 859 | return val |
2d091820 RD |
860 | def SetValue(self, *_args, **_kwargs): |
861 | val = apply(controlsc.wxSpinButton_SetValue,(self,) + _args, _kwargs) | |
62bd0874 RD |
862 | return val |
863 | def __repr__(self): | |
2d091820 | 864 | return "<C wxSpinButton instance at %s>" % (self.this,) |
62bd0874 | 865 | class wxSpinButton(wxSpinButtonPtr): |
2d091820 RD |
866 | def __init__(self,*_args,**_kwargs): |
867 | self.this = apply(controlsc.new_wxSpinButton,_args,_kwargs) | |
62bd0874 | 868 | self.thisown = 1 |
0220cbc1 | 869 | self._setOORInfo(self) |
62bd0874 RD |
870 | |
871 | ||
872 | ||
aa2a5b86 RD |
873 | def wxPreSpinButton(*_args,**_kwargs): |
874 | val = wxSpinButtonPtr(apply(controlsc.new_wxPreSpinButton,_args,_kwargs)) | |
875 | val.thisown = 1 | |
17c0e08c | 876 | val._setOORInfo(val) |
aa2a5b86 RD |
877 | return val |
878 | ||
62bd0874 | 879 | |
70551f47 RD |
880 | class wxStaticBitmapPtr(wxControlPtr): |
881 | def __init__(self,this): | |
882 | self.this = this | |
883 | self.thisown = 0 | |
aa2a5b86 RD |
884 | def Create(self, *_args, **_kwargs): |
885 | val = apply(controlsc.wxStaticBitmap_Create,(self,) + _args, _kwargs) | |
886 | return val | |
2d091820 RD |
887 | def GetBitmap(self, *_args, **_kwargs): |
888 | val = apply(controlsc.wxStaticBitmap_GetBitmap,(self,) + _args, _kwargs) | |
3e212503 | 889 | if val: val = wxBitmapPtr(val) ; val.thisown = 1 |
70551f47 | 890 | return val |
2d091820 RD |
891 | def SetBitmap(self, *_args, **_kwargs): |
892 | val = apply(controlsc.wxStaticBitmap_SetBitmap,(self,) + _args, _kwargs) | |
70551f47 | 893 | return val |
2d091820 RD |
894 | def SetIcon(self, *_args, **_kwargs): |
895 | val = apply(controlsc.wxStaticBitmap_SetIcon,(self,) + _args, _kwargs) | |
8bf5d46e | 896 | return val |
70551f47 | 897 | def __repr__(self): |
2d091820 | 898 | return "<C wxStaticBitmap instance at %s>" % (self.this,) |
70551f47 | 899 | class wxStaticBitmap(wxStaticBitmapPtr): |
2d091820 RD |
900 | def __init__(self,*_args,**_kwargs): |
901 | self.this = apply(controlsc.new_wxStaticBitmap,_args,_kwargs) | |
70551f47 | 902 | self.thisown = 1 |
0220cbc1 | 903 | self._setOORInfo(self) |
70551f47 RD |
904 | |
905 | ||
906 | ||
aa2a5b86 RD |
907 | def wxPreStaticBitmap(*_args,**_kwargs): |
908 | val = wxStaticBitmapPtr(apply(controlsc.new_wxPreStaticBitmap,_args,_kwargs)) | |
909 | val.thisown = 1 | |
17c0e08c | 910 | val._setOORInfo(val) |
aa2a5b86 RD |
911 | return val |
912 | ||
70551f47 RD |
913 | |
914 | class wxRadioBoxPtr(wxControlPtr): | |
915 | def __init__(self,this): | |
916 | self.this = this | |
917 | self.thisown = 0 | |
aa2a5b86 RD |
918 | def Create(self, *_args, **_kwargs): |
919 | val = apply(controlsc.wxRadioBox_Create,(self,) + _args, _kwargs) | |
920 | return val | |
2d091820 RD |
921 | def Enable(self, *_args, **_kwargs): |
922 | val = apply(controlsc.wxRadioBox_Enable,(self,) + _args, _kwargs) | |
70551f47 | 923 | return val |
2d091820 RD |
924 | def EnableItem(self, *_args, **_kwargs): |
925 | val = apply(controlsc.wxRadioBox_EnableItem,(self,) + _args, _kwargs) | |
70551f47 | 926 | return val |
2d091820 RD |
927 | def FindString(self, *_args, **_kwargs): |
928 | val = apply(controlsc.wxRadioBox_FindString,(self,) + _args, _kwargs) | |
70551f47 | 929 | return val |
2c8a649d RD |
930 | def GetString(self, *_args, **_kwargs): |
931 | val = apply(controlsc.wxRadioBox_GetString,(self,) + _args, _kwargs) | |
932 | return val | |
2d091820 RD |
933 | def GetItemLabel(self, *_args, **_kwargs): |
934 | val = apply(controlsc.wxRadioBox_GetItemLabel,(self,) + _args, _kwargs) | |
70551f47 | 935 | return val |
2c8a649d RD |
936 | def SetItemLabel(self, *_args, **_kwargs): |
937 | val = apply(controlsc.wxRadioBox_SetItemLabel,(self,) + _args, _kwargs) | |
938 | return val | |
2d091820 RD |
939 | def GetSelection(self, *_args, **_kwargs): |
940 | val = apply(controlsc.wxRadioBox_GetSelection,(self,) + _args, _kwargs) | |
70551f47 | 941 | return val |
2d091820 RD |
942 | def GetStringSelection(self, *_args, **_kwargs): |
943 | val = apply(controlsc.wxRadioBox_GetStringSelection,(self,) + _args, _kwargs) | |
70551f47 | 944 | return val |
2c8a649d RD |
945 | def GetCount(self, *_args, **_kwargs): |
946 | val = apply(controlsc.wxRadioBox_GetCount,(self,) + _args, _kwargs) | |
70551f47 | 947 | return val |
2d091820 RD |
948 | def SetSelection(self, *_args, **_kwargs): |
949 | val = apply(controlsc.wxRadioBox_SetSelection,(self,) + _args, _kwargs) | |
70551f47 | 950 | return val |
2d091820 RD |
951 | def SetStringSelection(self, *_args, **_kwargs): |
952 | val = apply(controlsc.wxRadioBox_SetStringSelection,(self,) + _args, _kwargs) | |
70551f47 | 953 | return val |
2d091820 RD |
954 | def Show(self, *_args, **_kwargs): |
955 | val = apply(controlsc.wxRadioBox_Show,(self,) + _args, _kwargs) | |
70551f47 | 956 | return val |
2d091820 RD |
957 | def ShowItem(self, *_args, **_kwargs): |
958 | val = apply(controlsc.wxRadioBox_ShowItem,(self,) + _args, _kwargs) | |
70551f47 RD |
959 | return val |
960 | def __repr__(self): | |
2d091820 | 961 | return "<C wxRadioBox instance at %s>" % (self.this,) |
2c8a649d | 962 | Number = GetCount |
70551f47 | 963 | class wxRadioBox(wxRadioBoxPtr): |
2d091820 RD |
964 | def __init__(self,*_args,**_kwargs): |
965 | self.this = apply(controlsc.new_wxRadioBox,_args,_kwargs) | |
70551f47 | 966 | self.thisown = 1 |
0220cbc1 | 967 | self._setOORInfo(self) |
70551f47 RD |
968 | |
969 | ||
970 | ||
aa2a5b86 RD |
971 | def wxPreRadioBox(*_args,**_kwargs): |
972 | val = wxRadioBoxPtr(apply(controlsc.new_wxPreRadioBox,_args,_kwargs)) | |
973 | val.thisown = 1 | |
17c0e08c | 974 | val._setOORInfo(val) |
aa2a5b86 RD |
975 | return val |
976 | ||
70551f47 RD |
977 | |
978 | class wxRadioButtonPtr(wxControlPtr): | |
979 | def __init__(self,this): | |
980 | self.this = this | |
981 | self.thisown = 0 | |
aa2a5b86 RD |
982 | def Create(self, *_args, **_kwargs): |
983 | val = apply(controlsc.wxRadioButton_Create,(self,) + _args, _kwargs) | |
984 | return val | |
2d091820 RD |
985 | def GetValue(self, *_args, **_kwargs): |
986 | val = apply(controlsc.wxRadioButton_GetValue,(self,) + _args, _kwargs) | |
70551f47 | 987 | return val |
2d091820 RD |
988 | def SetValue(self, *_args, **_kwargs): |
989 | val = apply(controlsc.wxRadioButton_SetValue,(self,) + _args, _kwargs) | |
70551f47 RD |
990 | return val |
991 | def __repr__(self): | |
2d091820 | 992 | return "<C wxRadioButton instance at %s>" % (self.this,) |
70551f47 | 993 | class wxRadioButton(wxRadioButtonPtr): |
2d091820 RD |
994 | def __init__(self,*_args,**_kwargs): |
995 | self.this = apply(controlsc.new_wxRadioButton,_args,_kwargs) | |
70551f47 | 996 | self.thisown = 1 |
0220cbc1 | 997 | self._setOORInfo(self) |
70551f47 RD |
998 | |
999 | ||
1000 | ||
aa2a5b86 RD |
1001 | def wxPreRadioButton(*_args,**_kwargs): |
1002 | val = wxRadioButtonPtr(apply(controlsc.new_wxPreRadioButton,_args,_kwargs)) | |
1003 | val.thisown = 1 | |
17c0e08c | 1004 | val._setOORInfo(val) |
aa2a5b86 RD |
1005 | return val |
1006 | ||
70551f47 RD |
1007 | |
1008 | class wxSliderPtr(wxControlPtr): | |
1009 | def __init__(self,this): | |
1010 | self.this = this | |
1011 | self.thisown = 0 | |
aa2a5b86 RD |
1012 | def Create(self, *_args, **_kwargs): |
1013 | val = apply(controlsc.wxSlider_Create,(self,) + _args, _kwargs) | |
1014 | return val | |
2d091820 RD |
1015 | def ClearSel(self, *_args, **_kwargs): |
1016 | val = apply(controlsc.wxSlider_ClearSel,(self,) + _args, _kwargs) | |
70551f47 | 1017 | return val |
2d091820 RD |
1018 | def ClearTicks(self, *_args, **_kwargs): |
1019 | val = apply(controlsc.wxSlider_ClearTicks,(self,) + _args, _kwargs) | |
70551f47 | 1020 | return val |
2d091820 RD |
1021 | def GetLineSize(self, *_args, **_kwargs): |
1022 | val = apply(controlsc.wxSlider_GetLineSize,(self,) + _args, _kwargs) | |
70551f47 | 1023 | return val |
2d091820 RD |
1024 | def GetMax(self, *_args, **_kwargs): |
1025 | val = apply(controlsc.wxSlider_GetMax,(self,) + _args, _kwargs) | |
70551f47 | 1026 | return val |
2d091820 RD |
1027 | def GetMin(self, *_args, **_kwargs): |
1028 | val = apply(controlsc.wxSlider_GetMin,(self,) + _args, _kwargs) | |
70551f47 | 1029 | return val |
2d091820 RD |
1030 | def GetPageSize(self, *_args, **_kwargs): |
1031 | val = apply(controlsc.wxSlider_GetPageSize,(self,) + _args, _kwargs) | |
70551f47 | 1032 | return val |
2d091820 RD |
1033 | def GetSelEnd(self, *_args, **_kwargs): |
1034 | val = apply(controlsc.wxSlider_GetSelEnd,(self,) + _args, _kwargs) | |
70551f47 | 1035 | return val |
2d091820 RD |
1036 | def GetSelStart(self, *_args, **_kwargs): |
1037 | val = apply(controlsc.wxSlider_GetSelStart,(self,) + _args, _kwargs) | |
70551f47 | 1038 | return val |
2d091820 RD |
1039 | def GetThumbLength(self, *_args, **_kwargs): |
1040 | val = apply(controlsc.wxSlider_GetThumbLength,(self,) + _args, _kwargs) | |
70551f47 | 1041 | return val |
2d091820 RD |
1042 | def GetTickFreq(self, *_args, **_kwargs): |
1043 | val = apply(controlsc.wxSlider_GetTickFreq,(self,) + _args, _kwargs) | |
70551f47 | 1044 | return val |
2d091820 RD |
1045 | def GetValue(self, *_args, **_kwargs): |
1046 | val = apply(controlsc.wxSlider_GetValue,(self,) + _args, _kwargs) | |
70551f47 | 1047 | return val |
2d091820 RD |
1048 | def SetRange(self, *_args, **_kwargs): |
1049 | val = apply(controlsc.wxSlider_SetRange,(self,) + _args, _kwargs) | |
70551f47 | 1050 | return val |
2d091820 RD |
1051 | def SetTickFreq(self, *_args, **_kwargs): |
1052 | val = apply(controlsc.wxSlider_SetTickFreq,(self,) + _args, _kwargs) | |
70551f47 | 1053 | return val |
2d091820 RD |
1054 | def SetLineSize(self, *_args, **_kwargs): |
1055 | val = apply(controlsc.wxSlider_SetLineSize,(self,) + _args, _kwargs) | |
70551f47 | 1056 | return val |
2d091820 RD |
1057 | def SetPageSize(self, *_args, **_kwargs): |
1058 | val = apply(controlsc.wxSlider_SetPageSize,(self,) + _args, _kwargs) | |
70551f47 | 1059 | return val |
2d091820 RD |
1060 | def SetSelection(self, *_args, **_kwargs): |
1061 | val = apply(controlsc.wxSlider_SetSelection,(self,) + _args, _kwargs) | |
70551f47 | 1062 | return val |
2d091820 RD |
1063 | def SetThumbLength(self, *_args, **_kwargs): |
1064 | val = apply(controlsc.wxSlider_SetThumbLength,(self,) + _args, _kwargs) | |
70551f47 | 1065 | return val |
2d091820 RD |
1066 | def SetTick(self, *_args, **_kwargs): |
1067 | val = apply(controlsc.wxSlider_SetTick,(self,) + _args, _kwargs) | |
70551f47 | 1068 | return val |
2d091820 RD |
1069 | def SetValue(self, *_args, **_kwargs): |
1070 | val = apply(controlsc.wxSlider_SetValue,(self,) + _args, _kwargs) | |
70551f47 RD |
1071 | return val |
1072 | def __repr__(self): | |
2d091820 | 1073 | return "<C wxSlider instance at %s>" % (self.this,) |
70551f47 | 1074 | class wxSlider(wxSliderPtr): |
2d091820 RD |
1075 | def __init__(self,*_args,**_kwargs): |
1076 | self.this = apply(controlsc.new_wxSlider,_args,_kwargs) | |
70551f47 | 1077 | self.thisown = 1 |
0220cbc1 | 1078 | self._setOORInfo(self) |
f6bcfd97 BP |
1079 | |
1080 | ||
1081 | ||
aa2a5b86 RD |
1082 | def wxPreSlider(*_args,**_kwargs): |
1083 | val = wxSliderPtr(apply(controlsc.new_wxPreSlider,_args,_kwargs)) | |
1084 | val.thisown = 1 | |
17c0e08c | 1085 | val._setOORInfo(val) |
aa2a5b86 RD |
1086 | return val |
1087 | ||
f6bcfd97 BP |
1088 | |
1089 | class wxSpinCtrlPtr(wxSpinButtonPtr): | |
1090 | def __init__(self,this): | |
1091 | self.this = this | |
1092 | self.thisown = 0 | |
aa2a5b86 RD |
1093 | def Create(self, *_args, **_kwargs): |
1094 | val = apply(controlsc.wxSpinCtrl_Create,(self,) + _args, _kwargs) | |
1095 | return val | |
c368d904 RD |
1096 | def GetMax(self, *_args, **_kwargs): |
1097 | val = apply(controlsc.wxSpinCtrl_GetMax,(self,) + _args, _kwargs) | |
1098 | return val | |
1099 | def GetMin(self, *_args, **_kwargs): | |
1100 | val = apply(controlsc.wxSpinCtrl_GetMin,(self,) + _args, _kwargs) | |
1101 | return val | |
1102 | def GetValue(self, *_args, **_kwargs): | |
1103 | val = apply(controlsc.wxSpinCtrl_GetValue,(self,) + _args, _kwargs) | |
1104 | return val | |
1105 | def SetRange(self, *_args, **_kwargs): | |
1106 | val = apply(controlsc.wxSpinCtrl_SetRange,(self,) + _args, _kwargs) | |
1107 | return val | |
1108 | def SetValue(self, *_args, **_kwargs): | |
1109 | val = apply(controlsc.wxSpinCtrl_SetValue,(self,) + _args, _kwargs) | |
1110 | return val | |
f6bcfd97 BP |
1111 | def __repr__(self): |
1112 | return "<C wxSpinCtrl instance at %s>" % (self.this,) | |
1113 | class wxSpinCtrl(wxSpinCtrlPtr): | |
1114 | def __init__(self,*_args,**_kwargs): | |
1115 | self.this = apply(controlsc.new_wxSpinCtrl,_args,_kwargs) | |
1116 | self.thisown = 1 | |
0220cbc1 | 1117 | self._setOORInfo(self) |
70551f47 RD |
1118 | |
1119 | ||
1120 | ||
aa2a5b86 RD |
1121 | def wxPreSpinCtrl(*_args,**_kwargs): |
1122 | val = wxSpinCtrlPtr(apply(controlsc.new_wxPreSpinCtrl,_args,_kwargs)) | |
1123 | val.thisown = 1 | |
17c0e08c | 1124 | val._setOORInfo(val) |
aa2a5b86 RD |
1125 | return val |
1126 | ||
70551f47 | 1127 | |
7a446686 RD |
1128 | class wxToggleButtonPtr(wxControlPtr): |
1129 | def __init__(self,this): | |
1130 | self.this = this | |
1131 | self.thisown = 0 | |
aa2a5b86 RD |
1132 | def Create(self, *_args, **_kwargs): |
1133 | val = apply(controlsc.wxToggleButton_Create,(self,) + _args, _kwargs) | |
1134 | return val | |
7a446686 RD |
1135 | def SetValue(self, *_args, **_kwargs): |
1136 | val = apply(controlsc.wxToggleButton_SetValue,(self,) + _args, _kwargs) | |
1137 | return val | |
1138 | def GetValue(self, *_args, **_kwargs): | |
1139 | val = apply(controlsc.wxToggleButton_GetValue,(self,) + _args, _kwargs) | |
1140 | return val | |
1141 | def SetLabel(self, *_args, **_kwargs): | |
1142 | val = apply(controlsc.wxToggleButton_SetLabel,(self,) + _args, _kwargs) | |
1143 | return val | |
1144 | def __repr__(self): | |
1145 | return "<C wxToggleButton instance at %s>" % (self.this,) | |
1146 | class wxToggleButton(wxToggleButtonPtr): | |
1147 | def __init__(self,*_args,**_kwargs): | |
1148 | self.this = apply(controlsc.new_wxToggleButton,_args,_kwargs) | |
1149 | self.thisown = 1 | |
0220cbc1 | 1150 | self._setOORInfo(self) |
7a446686 RD |
1151 | |
1152 | ||
1153 | ||
aa2a5b86 RD |
1154 | def wxPreToggleButton(*_args,**_kwargs): |
1155 | val = wxToggleButtonPtr(apply(controlsc.new_wxPreToggleButton,_args,_kwargs)) | |
1156 | val.thisown = 1 | |
17c0e08c | 1157 | val._setOORInfo(val) |
aa2a5b86 RD |
1158 | return val |
1159 | ||
7a446686 | 1160 | |
70551f47 RD |
1161 | |
1162 | ||
1163 | #-------------- FUNCTION WRAPPERS ------------------ | |
1164 | ||
56f5d962 RD |
1165 | def wxButton_GetDefaultSize(*_args, **_kwargs): |
1166 | val = apply(controlsc.wxButton_GetDefaultSize,_args,_kwargs) | |
1167 | if val: val = wxSizePtr(val); val.thisown = 1 | |
1168 | return val | |
1169 | ||
7a9b33db RD |
1170 | def wxTextAttr_Combine(*_args, **_kwargs): |
1171 | val = apply(controlsc.wxTextAttr_Combine,_args,_kwargs) | |
1172 | if val: val = wxTextAttrPtr(val); val.thisown = 1 | |
1173 | return val | |
1174 | ||
70551f47 RD |
1175 | |
1176 | ||
1177 | #-------------- VARIABLE WRAPPERS ------------------ | |
1178 | ||
37f6a977 RD |
1179 | cvar = controlsc.cvar |
1180 | wxDefaultValidator = wxValidatorPtr(controlsc.cvar.wxDefaultValidator) | |
7a446686 | 1181 | wxEVT_COMMAND_TOGGLEBUTTON_CLICKED = controlsc.wxEVT_COMMAND_TOGGLEBUTTON_CLICKED |