1 # This file was created automatically by SWIG.
10 from clip_dnd
import *
14 class wxControlPtr(wxWindowPtr
):
15 def __init__(self
,this
):
18 def Create(self
, *_args
, **_kwargs
):
19 val
= apply(controlsc
.wxControl_Create
,(self
,) + _args
, _kwargs
)
21 def Command(self
, *_args
, **_kwargs
):
22 val
= apply(controlsc
.wxControl_Command
,(self
,) + _args
, _kwargs
)
24 def GetLabel(self
, *_args
, **_kwargs
):
25 val
= apply(controlsc
.wxControl_GetLabel
,(self
,) + _args
, _kwargs
)
27 def SetLabel(self
, *_args
, **_kwargs
):
28 val
= apply(controlsc
.wxControl_SetLabel
,(self
,) + _args
, _kwargs
)
31 return "<C wxControl instance at %s>" % (self
.this
,)
32 class wxControl(wxControlPtr
):
33 def __init__(self
,*_args
,**_kwargs
):
34 self
.this
= apply(controlsc
.new_wxControl
,_args
,_kwargs
)
36 self
._setOORInfo
(self
)
40 def wxPreControl(*_args
,**_kwargs
):
41 val
= wxControlPtr(apply(controlsc
.new_wxPreControl
,_args
,_kwargs
))
47 class wxControlWithItemsPtr(wxControlPtr
):
48 def __init__(self
,this
):
51 def Delete(self
, *_args
, **_kwargs
):
52 val
= apply(controlsc
.wxControlWithItems_Delete
,(self
,) + _args
, _kwargs
)
54 def GetCount(self
, *_args
, **_kwargs
):
55 val
= apply(controlsc
.wxControlWithItems_GetCount
,(self
,) + _args
, _kwargs
)
57 def GetString(self
, *_args
, **_kwargs
):
58 val
= apply(controlsc
.wxControlWithItems_GetString
,(self
,) + _args
, _kwargs
)
60 def SetString(self
, *_args
, **_kwargs
):
61 val
= apply(controlsc
.wxControlWithItems_SetString
,(self
,) + _args
, _kwargs
)
63 def FindString(self
, *_args
, **_kwargs
):
64 val
= apply(controlsc
.wxControlWithItems_FindString
,(self
,) + _args
, _kwargs
)
66 def Select(self
, *_args
, **_kwargs
):
67 val
= apply(controlsc
.wxControlWithItems_Select
,(self
,) + _args
, _kwargs
)
69 def GetSelection(self
, *_args
, **_kwargs
):
70 val
= apply(controlsc
.wxControlWithItems_GetSelection
,(self
,) + _args
, _kwargs
)
72 def GetStringSelection(self
, *_args
, **_kwargs
):
73 val
= apply(controlsc
.wxControlWithItems_GetStringSelection
,(self
,) + _args
, _kwargs
)
75 def Append(self
, *_args
, **_kwargs
):
76 val
= apply(controlsc
.wxControlWithItems_Append
,(self
,) + _args
, _kwargs
)
78 def GetClientData(self
, *_args
, **_kwargs
):
79 val
= apply(controlsc
.wxControlWithItems_GetClientData
,(self
,) + _args
, _kwargs
)
81 def SetClientData(self
, *_args
, **_kwargs
):
82 val
= apply(controlsc
.wxControlWithItems_SetClientData
,(self
,) + _args
, _kwargs
)
85 return "<C wxControlWithItems instance at %s>" % (self
.this
,)
87 class wxControlWithItems(wxControlWithItemsPtr
):
88 def __init__(self
,this
):
94 class wxButtonPtr(wxControlPtr
):
95 def __init__(self
,this
):
98 def Create(self
, *_args
, **_kwargs
):
99 val
= apply(controlsc
.wxButton_Create
,(self
,) + _args
, _kwargs
)
101 def SetDefault(self
, *_args
, **_kwargs
):
102 val
= apply(controlsc
.wxButton_SetDefault
,(self
,) + _args
, _kwargs
)
104 def SetBackgroundColour(self
, *_args
, **_kwargs
):
105 val
= apply(controlsc
.wxButton_SetBackgroundColour
,(self
,) + _args
, _kwargs
)
107 def SetForegroundColour(self
, *_args
, **_kwargs
):
108 val
= apply(controlsc
.wxButton_SetForegroundColour
,(self
,) + _args
, _kwargs
)
111 return "<C wxButton instance at %s>" % (self
.this
,)
112 class wxButton(wxButtonPtr
):
113 def __init__(self
,*_args
,**_kwargs
):
114 self
.this
= apply(controlsc
.new_wxButton
,_args
,_kwargs
)
116 self
._setOORInfo
(self
)
120 def wxPreButton(*_args
,**_kwargs
):
121 val
= wxButtonPtr(apply(controlsc
.new_wxPreButton
,_args
,_kwargs
))
127 class wxBitmapButtonPtr(wxButtonPtr
):
128 def __init__(self
,this
):
131 def Create(self
, *_args
, **_kwargs
):
132 val
= apply(controlsc
.wxBitmapButton_Create
,(self
,) + _args
, _kwargs
)
134 def GetBitmapLabel(self
, *_args
, **_kwargs
):
135 val
= apply(controlsc
.wxBitmapButton_GetBitmapLabel
,(self
,) + _args
, _kwargs
)
136 if val
: val
= wxBitmapPtr(val
) ; val
.thisown
= 1
138 def GetBitmapDisabled(self
, *_args
, **_kwargs
):
139 val
= apply(controlsc
.wxBitmapButton_GetBitmapDisabled
,(self
,) + _args
, _kwargs
)
140 if val
: val
= wxBitmapPtr(val
) ; val
.thisown
= 1
142 def GetBitmapFocus(self
, *_args
, **_kwargs
):
143 val
= apply(controlsc
.wxBitmapButton_GetBitmapFocus
,(self
,) + _args
, _kwargs
)
144 if val
: val
= wxBitmapPtr(val
) ; val
.thisown
= 1
146 def GetBitmapSelected(self
, *_args
, **_kwargs
):
147 val
= apply(controlsc
.wxBitmapButton_GetBitmapSelected
,(self
,) + _args
, _kwargs
)
148 if val
: val
= wxBitmapPtr(val
) ; val
.thisown
= 1
150 def SetBitmapDisabled(self
, *_args
, **_kwargs
):
151 val
= apply(controlsc
.wxBitmapButton_SetBitmapDisabled
,(self
,) + _args
, _kwargs
)
153 def SetBitmapFocus(self
, *_args
, **_kwargs
):
154 val
= apply(controlsc
.wxBitmapButton_SetBitmapFocus
,(self
,) + _args
, _kwargs
)
156 def SetBitmapSelected(self
, *_args
, **_kwargs
):
157 val
= apply(controlsc
.wxBitmapButton_SetBitmapSelected
,(self
,) + _args
, _kwargs
)
159 def SetBitmapLabel(self
, *_args
, **_kwargs
):
160 val
= apply(controlsc
.wxBitmapButton_SetBitmapLabel
,(self
,) + _args
, _kwargs
)
162 def SetMargins(self
, *_args
, **_kwargs
):
163 val
= apply(controlsc
.wxBitmapButton_SetMargins
,(self
,) + _args
, _kwargs
)
165 def GetMarginX(self
, *_args
, **_kwargs
):
166 val
= apply(controlsc
.wxBitmapButton_GetMarginX
,(self
,) + _args
, _kwargs
)
168 def GetMarginY(self
, *_args
, **_kwargs
):
169 val
= apply(controlsc
.wxBitmapButton_GetMarginY
,(self
,) + _args
, _kwargs
)
172 return "<C wxBitmapButton instance at %s>" % (self
.this
,)
173 class wxBitmapButton(wxBitmapButtonPtr
):
174 def __init__(self
,*_args
,**_kwargs
):
175 self
.this
= apply(controlsc
.new_wxBitmapButton
,_args
,_kwargs
)
177 self
._setOORInfo
(self
)
181 def wxPreBitmapButton(*_args
,**_kwargs
):
182 val
= wxBitmapButtonPtr(apply(controlsc
.new_wxPreBitmapButton
,_args
,_kwargs
))
188 class wxCheckBoxPtr(wxControlPtr
):
189 def __init__(self
,this
):
192 def Create(self
, *_args
, **_kwargs
):
193 val
= apply(controlsc
.wxCheckBox_Create
,(self
,) + _args
, _kwargs
)
195 def GetValue(self
, *_args
, **_kwargs
):
196 val
= apply(controlsc
.wxCheckBox_GetValue
,(self
,) + _args
, _kwargs
)
198 def SetValue(self
, *_args
, **_kwargs
):
199 val
= apply(controlsc
.wxCheckBox_SetValue
,(self
,) + _args
, _kwargs
)
202 return "<C wxCheckBox instance at %s>" % (self
.this
,)
203 class wxCheckBox(wxCheckBoxPtr
):
204 def __init__(self
,*_args
,**_kwargs
):
205 self
.this
= apply(controlsc
.new_wxCheckBox
,_args
,_kwargs
)
207 self
._setOORInfo
(self
)
211 def wxPreCheckBox(*_args
,**_kwargs
):
212 val
= wxCheckBoxPtr(apply(controlsc
.new_wxPreCheckBox
,_args
,_kwargs
))
218 class wxChoicePtr(wxControlWithItemsPtr
):
219 def __init__(self
,this
):
222 def Create(self
, *_args
, **_kwargs
):
223 val
= apply(controlsc
.wxChoice_Create
,(self
,) + _args
, _kwargs
)
225 def Clear(self
, *_args
, **_kwargs
):
226 val
= apply(controlsc
.wxChoice_Clear
,(self
,) + _args
, _kwargs
)
228 def GetColumns(self
, *_args
, **_kwargs
):
229 val
= apply(controlsc
.wxChoice_GetColumns
,(self
,) + _args
, _kwargs
)
231 def SetColumns(self
, *_args
, **_kwargs
):
232 val
= apply(controlsc
.wxChoice_SetColumns
,(self
,) + _args
, _kwargs
)
234 def SetSelection(self
, *_args
, **_kwargs
):
235 val
= apply(controlsc
.wxChoice_SetSelection
,(self
,) + _args
, _kwargs
)
237 def SetStringSelection(self
, *_args
, **_kwargs
):
238 val
= apply(controlsc
.wxChoice_SetStringSelection
,(self
,) + _args
, _kwargs
)
240 def SetString(self
, *_args
, **_kwargs
):
241 val
= apply(controlsc
.wxChoice_SetString
,(self
,) + _args
, _kwargs
)
244 return "<C wxChoice instance at %s>" % (self
.this
,)
246 Select
= SetSelection
248 class wxChoice(wxChoicePtr
):
249 def __init__(self
,*_args
,**_kwargs
):
250 self
.this
= apply(controlsc
.new_wxChoice
,_args
,_kwargs
)
252 self
._setOORInfo
(self
)
256 def wxPreChoice(*_args
,**_kwargs
):
257 val
= wxChoicePtr(apply(controlsc
.new_wxPreChoice
,_args
,_kwargs
))
263 class wxComboBoxPtr(wxChoicePtr
):
264 def __init__(self
,this
):
267 def Create(self
, *_args
, **_kwargs
):
268 val
= apply(controlsc
.wxComboBox_Create
,(self
,) + _args
, _kwargs
)
270 def Copy(self
, *_args
, **_kwargs
):
271 val
= apply(controlsc
.wxComboBox_Copy
,(self
,) + _args
, _kwargs
)
273 def Cut(self
, *_args
, **_kwargs
):
274 val
= apply(controlsc
.wxComboBox_Cut
,(self
,) + _args
, _kwargs
)
276 def GetInsertionPoint(self
, *_args
, **_kwargs
):
277 val
= apply(controlsc
.wxComboBox_GetInsertionPoint
,(self
,) + _args
, _kwargs
)
279 def GetLastPosition(self
, *_args
, **_kwargs
):
280 val
= apply(controlsc
.wxComboBox_GetLastPosition
,(self
,) + _args
, _kwargs
)
282 def GetValue(self
, *_args
, **_kwargs
):
283 val
= apply(controlsc
.wxComboBox_GetValue
,(self
,) + _args
, _kwargs
)
285 def Paste(self
, *_args
, **_kwargs
):
286 val
= apply(controlsc
.wxComboBox_Paste
,(self
,) + _args
, _kwargs
)
288 def Replace(self
, *_args
, **_kwargs
):
289 val
= apply(controlsc
.wxComboBox_Replace
,(self
,) + _args
, _kwargs
)
291 def Remove(self
, *_args
, **_kwargs
):
292 val
= apply(controlsc
.wxComboBox_Remove
,(self
,) + _args
, _kwargs
)
294 def SetInsertionPoint(self
, *_args
, **_kwargs
):
295 val
= apply(controlsc
.wxComboBox_SetInsertionPoint
,(self
,) + _args
, _kwargs
)
297 def SetInsertionPointEnd(self
, *_args
, **_kwargs
):
298 val
= apply(controlsc
.wxComboBox_SetInsertionPointEnd
,(self
,) + _args
, _kwargs
)
300 def SetSelection(self
, *_args
, **_kwargs
):
301 val
= apply(controlsc
.wxComboBox_SetSelection
,(self
,) + _args
, _kwargs
)
303 def SetMark(self
, *_args
, **_kwargs
):
304 val
= apply(controlsc
.wxComboBox_SetMark
,(self
,) + _args
, _kwargs
)
306 def SetValue(self
, *_args
, **_kwargs
):
307 val
= apply(controlsc
.wxComboBox_SetValue
,(self
,) + _args
, _kwargs
)
309 def SetEditable(self
, *_args
, **_kwargs
):
310 val
= apply(controlsc
.wxComboBox_SetEditable
,(self
,) + _args
, _kwargs
)
313 return "<C wxComboBox instance at %s>" % (self
.this
,)
314 class wxComboBox(wxComboBoxPtr
):
315 def __init__(self
,*_args
,**_kwargs
):
316 self
.this
= apply(controlsc
.new_wxComboBox
,_args
,_kwargs
)
318 self
._setOORInfo
(self
)
322 def wxPreComboBox(*_args
,**_kwargs
):
323 val
= wxComboBoxPtr(apply(controlsc
.new_wxPreComboBox
,_args
,_kwargs
))
329 class wxGaugePtr(wxControlPtr
):
330 def __init__(self
,this
):
333 def Create(self
, *_args
, **_kwargs
):
334 val
= apply(controlsc
.wxGauge_Create
,(self
,) + _args
, _kwargs
)
336 def GetBezelFace(self
, *_args
, **_kwargs
):
337 val
= apply(controlsc
.wxGauge_GetBezelFace
,(self
,) + _args
, _kwargs
)
339 def GetRange(self
, *_args
, **_kwargs
):
340 val
= apply(controlsc
.wxGauge_GetRange
,(self
,) + _args
, _kwargs
)
342 def GetShadowWidth(self
, *_args
, **_kwargs
):
343 val
= apply(controlsc
.wxGauge_GetShadowWidth
,(self
,) + _args
, _kwargs
)
345 def GetValue(self
, *_args
, **_kwargs
):
346 val
= apply(controlsc
.wxGauge_GetValue
,(self
,) + _args
, _kwargs
)
348 def SetBezelFace(self
, *_args
, **_kwargs
):
349 val
= apply(controlsc
.wxGauge_SetBezelFace
,(self
,) + _args
, _kwargs
)
351 def SetRange(self
, *_args
, **_kwargs
):
352 val
= apply(controlsc
.wxGauge_SetRange
,(self
,) + _args
, _kwargs
)
354 def SetShadowWidth(self
, *_args
, **_kwargs
):
355 val
= apply(controlsc
.wxGauge_SetShadowWidth
,(self
,) + _args
, _kwargs
)
357 def SetValue(self
, *_args
, **_kwargs
):
358 val
= apply(controlsc
.wxGauge_SetValue
,(self
,) + _args
, _kwargs
)
361 return "<C wxGauge instance at %s>" % (self
.this
,)
362 class wxGauge(wxGaugePtr
):
363 def __init__(self
,*_args
,**_kwargs
):
364 self
.this
= apply(controlsc
.new_wxGauge
,_args
,_kwargs
)
366 self
._setOORInfo
(self
)
370 def wxPreGauge(*_args
,**_kwargs
):
371 val
= wxGaugePtr(apply(controlsc
.new_wxPreGauge
,_args
,_kwargs
))
377 class wxStaticBoxPtr(wxControlPtr
):
378 def __init__(self
,this
):
381 def Create(self
, *_args
, **_kwargs
):
382 val
= apply(controlsc
.wxStaticBox_Create
,(self
,) + _args
, _kwargs
)
385 return "<C wxStaticBox instance at %s>" % (self
.this
,)
386 class wxStaticBox(wxStaticBoxPtr
):
387 def __init__(self
,*_args
,**_kwargs
):
388 self
.this
= apply(controlsc
.new_wxStaticBox
,_args
,_kwargs
)
390 self
._setOORInfo
(self
)
394 def wxPreStaticBox(*_args
,**_kwargs
):
395 val
= wxStaticBoxPtr(apply(controlsc
.new_wxPreStaticBox
,_args
,_kwargs
))
401 class wxStaticLinePtr(wxControlPtr
):
402 def __init__(self
,this
):
405 def Create(self
, *_args
, **_kwargs
):
406 val
= apply(controlsc
.wxStaticLine_Create
,(self
,) + _args
, _kwargs
)
409 return "<C wxStaticLine instance at %s>" % (self
.this
,)
410 class wxStaticLine(wxStaticLinePtr
):
411 def __init__(self
,*_args
,**_kwargs
):
412 self
.this
= apply(controlsc
.new_wxStaticLine
,_args
,_kwargs
)
414 self
._setOORInfo
(self
)
418 def wxPreStaticLine(*_args
,**_kwargs
):
419 val
= wxStaticLinePtr(apply(controlsc
.new_wxPreStaticLine
,_args
,_kwargs
))
425 class wxStaticTextPtr(wxControlPtr
):
426 def __init__(self
,this
):
429 def Create(self
, *_args
, **_kwargs
):
430 val
= apply(controlsc
.wxStaticText_Create
,(self
,) + _args
, _kwargs
)
432 def GetLabel(self
, *_args
, **_kwargs
):
433 val
= apply(controlsc
.wxStaticText_GetLabel
,(self
,) + _args
, _kwargs
)
435 def SetLabel(self
, *_args
, **_kwargs
):
436 val
= apply(controlsc
.wxStaticText_SetLabel
,(self
,) + _args
, _kwargs
)
439 return "<C wxStaticText instance at %s>" % (self
.this
,)
440 class wxStaticText(wxStaticTextPtr
):
441 def __init__(self
,*_args
,**_kwargs
):
442 self
.this
= apply(controlsc
.new_wxStaticText
,_args
,_kwargs
)
444 self
._setOORInfo
(self
)
448 def wxPreStaticText(*_args
,**_kwargs
):
449 val
= wxStaticTextPtr(apply(controlsc
.new_wxPreStaticText
,_args
,_kwargs
))
455 class wxListBoxPtr(wxControlWithItemsPtr
):
456 def __init__(self
,this
):
459 def Create(self
, *_args
, **_kwargs
):
460 val
= apply(controlsc
.wxListBox_Create
,(self
,) + _args
, _kwargs
)
462 def Clear(self
, *_args
, **_kwargs
):
463 val
= apply(controlsc
.wxListBox_Clear
,(self
,) + _args
, _kwargs
)
465 def Deselect(self
, *_args
, **_kwargs
):
466 val
= apply(controlsc
.wxListBox_Deselect
,(self
,) + _args
, _kwargs
)
468 def GetSelections(self
, *_args
, **_kwargs
):
469 val
= apply(controlsc
.wxListBox_GetSelections
,(self
,) + _args
, _kwargs
)
471 def InsertItems(self
, *_args
, **_kwargs
):
472 val
= apply(controlsc
.wxListBox_InsertItems
,(self
,) + _args
, _kwargs
)
474 def IsSelected(self
, *_args
, **_kwargs
):
475 val
= apply(controlsc
.wxListBox_IsSelected
,(self
,) + _args
, _kwargs
)
477 def Selected(self
, *_args
, **_kwargs
):
478 val
= apply(controlsc
.wxListBox_Selected
,(self
,) + _args
, _kwargs
)
480 def Set(self
, *_args
, **_kwargs
):
481 val
= apply(controlsc
.wxListBox_Set
,(self
,) + _args
, _kwargs
)
483 def SetFirstItem(self
, *_args
, **_kwargs
):
484 val
= apply(controlsc
.wxListBox_SetFirstItem
,(self
,) + _args
, _kwargs
)
486 def SetFirstItemStr(self
, *_args
, **_kwargs
):
487 val
= apply(controlsc
.wxListBox_SetFirstItemStr
,(self
,) + _args
, _kwargs
)
489 def SetSelection(self
, *_args
, **_kwargs
):
490 val
= apply(controlsc
.wxListBox_SetSelection
,(self
,) + _args
, _kwargs
)
492 def SetString(self
, *_args
, **_kwargs
):
493 val
= apply(controlsc
.wxListBox_SetString
,(self
,) + _args
, _kwargs
)
495 def SetStringSelection(self
, *_args
, **_kwargs
):
496 val
= apply(controlsc
.wxListBox_SetStringSelection
,(self
,) + _args
, _kwargs
)
499 return "<C wxListBox instance at %s>" % (self
.this
,)
500 class wxListBox(wxListBoxPtr
):
501 def __init__(self
,*_args
,**_kwargs
):
502 self
.this
= apply(controlsc
.new_wxListBox
,_args
,_kwargs
)
504 self
._setOORInfo
(self
)
508 def wxPreListBox(*_args
,**_kwargs
):
509 val
= wxListBoxPtr(apply(controlsc
.new_wxPreListBox
,_args
,_kwargs
))
515 class wxCheckListBoxPtr(wxListBoxPtr
):
516 def __init__(self
,this
):
519 def Create(self
, *_args
, **_kwargs
):
520 val
= apply(controlsc
.wxCheckListBox_Create
,(self
,) + _args
, _kwargs
)
522 def IsChecked(self
, *_args
, **_kwargs
):
523 val
= apply(controlsc
.wxCheckListBox_IsChecked
,(self
,) + _args
, _kwargs
)
525 def Check(self
, *_args
, **_kwargs
):
526 val
= apply(controlsc
.wxCheckListBox_Check
,(self
,) + _args
, _kwargs
)
528 def InsertItems(self
, *_args
, **_kwargs
):
529 val
= apply(controlsc
.wxCheckListBox_InsertItems
,(self
,) + _args
, _kwargs
)
532 return "<C wxCheckListBox instance at %s>" % (self
.this
,)
533 class wxCheckListBox(wxCheckListBoxPtr
):
534 def __init__(self
,*_args
,**_kwargs
):
535 self
.this
= apply(controlsc
.new_wxCheckListBox
,_args
,_kwargs
)
537 self
._setOORInfo
(self
)
541 def wxPreCheckListBox(*_args
,**_kwargs
):
542 val
= wxCheckListBoxPtr(apply(controlsc
.new_wxPreCheckListBox
,_args
,_kwargs
))
548 class wxTextAttrPtr
:
549 def __init__(self
,this
):
552 def __del__(self
,controlsc
=controlsc
):
553 if self
.thisown
== 1 :
554 controlsc
.delete_wxTextAttr(self
)
555 def SetTextColour(self
, *_args
, **_kwargs
):
556 val
= apply(controlsc
.wxTextAttr_SetTextColour
,(self
,) + _args
, _kwargs
)
558 def SetBackgroundColour(self
, *_args
, **_kwargs
):
559 val
= apply(controlsc
.wxTextAttr_SetBackgroundColour
,(self
,) + _args
, _kwargs
)
561 def SetFont(self
, *_args
, **_kwargs
):
562 val
= apply(controlsc
.wxTextAttr_SetFont
,(self
,) + _args
, _kwargs
)
564 def HasTextColour(self
, *_args
, **_kwargs
):
565 val
= apply(controlsc
.wxTextAttr_HasTextColour
,(self
,) + _args
, _kwargs
)
567 def HasBackgroundColour(self
, *_args
, **_kwargs
):
568 val
= apply(controlsc
.wxTextAttr_HasBackgroundColour
,(self
,) + _args
, _kwargs
)
570 def HasFont(self
, *_args
, **_kwargs
):
571 val
= apply(controlsc
.wxTextAttr_HasFont
,(self
,) + _args
, _kwargs
)
573 def GetTextColour(self
, *_args
, **_kwargs
):
574 val
= apply(controlsc
.wxTextAttr_GetTextColour
,(self
,) + _args
, _kwargs
)
575 if val
: val
= wxColourPtr(val
) ; val
.thisown
= 1
577 def GetBackgroundColour(self
, *_args
, **_kwargs
):
578 val
= apply(controlsc
.wxTextAttr_GetBackgroundColour
,(self
,) + _args
, _kwargs
)
579 if val
: val
= wxColourPtr(val
) ; val
.thisown
= 1
581 def GetFont(self
, *_args
, **_kwargs
):
582 val
= apply(controlsc
.wxTextAttr_GetFont
,(self
,) + _args
, _kwargs
)
583 if val
: val
= wxFontPtr(val
) ; val
.thisown
= 1
585 def IsDefault(self
, *_args
, **_kwargs
):
586 val
= apply(controlsc
.wxTextAttr_IsDefault
,(self
,) + _args
, _kwargs
)
589 return "<C wxTextAttr instance at %s>" % (self
.this
,)
590 class wxTextAttr(wxTextAttrPtr
):
591 def __init__(self
,*_args
,**_kwargs
):
592 self
.this
= apply(controlsc
.new_wxTextAttr
,_args
,_kwargs
)
598 class wxTextCtrlPtr(wxControlPtr
):
599 def __init__(self
,this
):
602 def Create(self
, *_args
, **_kwargs
):
603 val
= apply(controlsc
.wxTextCtrl_Create
,(self
,) + _args
, _kwargs
)
605 def GetValue(self
, *_args
, **_kwargs
):
606 val
= apply(controlsc
.wxTextCtrl_GetValue
,(self
,) + _args
, _kwargs
)
608 def SetValue(self
, *_args
, **_kwargs
):
609 val
= apply(controlsc
.wxTextCtrl_SetValue
,(self
,) + _args
, _kwargs
)
611 def GetRange(self
, *_args
, **_kwargs
):
612 val
= apply(controlsc
.wxTextCtrl_GetRange
,(self
,) + _args
, _kwargs
)
614 def GetLineLength(self
, *_args
, **_kwargs
):
615 val
= apply(controlsc
.wxTextCtrl_GetLineLength
,(self
,) + _args
, _kwargs
)
617 def GetLineText(self
, *_args
, **_kwargs
):
618 val
= apply(controlsc
.wxTextCtrl_GetLineText
,(self
,) + _args
, _kwargs
)
620 def GetNumberOfLines(self
, *_args
, **_kwargs
):
621 val
= apply(controlsc
.wxTextCtrl_GetNumberOfLines
,(self
,) + _args
, _kwargs
)
623 def IsModified(self
, *_args
, **_kwargs
):
624 val
= apply(controlsc
.wxTextCtrl_IsModified
,(self
,) + _args
, _kwargs
)
626 def IsEditable(self
, *_args
, **_kwargs
):
627 val
= apply(controlsc
.wxTextCtrl_IsEditable
,(self
,) + _args
, _kwargs
)
629 def GetSelection(self
, *_args
, **_kwargs
):
630 val
= apply(controlsc
.wxTextCtrl_GetSelection
,(self
,) + _args
, _kwargs
)
632 def GetStringSelection(self
, *_args
, **_kwargs
):
633 val
= apply(controlsc
.wxTextCtrl_GetStringSelection
,(self
,) + _args
, _kwargs
)
635 def Clear(self
, *_args
, **_kwargs
):
636 val
= apply(controlsc
.wxTextCtrl_Clear
,(self
,) + _args
, _kwargs
)
638 def Replace(self
, *_args
, **_kwargs
):
639 val
= apply(controlsc
.wxTextCtrl_Replace
,(self
,) + _args
, _kwargs
)
641 def Remove(self
, *_args
, **_kwargs
):
642 val
= apply(controlsc
.wxTextCtrl_Remove
,(self
,) + _args
, _kwargs
)
644 def LoadFile(self
, *_args
, **_kwargs
):
645 val
= apply(controlsc
.wxTextCtrl_LoadFile
,(self
,) + _args
, _kwargs
)
647 def SaveFile(self
, *_args
, **_kwargs
):
648 val
= apply(controlsc
.wxTextCtrl_SaveFile
,(self
,) + _args
, _kwargs
)
650 def DiscardEdits(self
, *_args
, **_kwargs
):
651 val
= apply(controlsc
.wxTextCtrl_DiscardEdits
,(self
,) + _args
, _kwargs
)
653 def SetMaxLength(self
, *_args
, **_kwargs
):
654 val
= apply(controlsc
.wxTextCtrl_SetMaxLength
,(self
,) + _args
, _kwargs
)
656 def WriteText(self
, *_args
, **_kwargs
):
657 val
= apply(controlsc
.wxTextCtrl_WriteText
,(self
,) + _args
, _kwargs
)
659 def AppendText(self
, *_args
, **_kwargs
):
660 val
= apply(controlsc
.wxTextCtrl_AppendText
,(self
,) + _args
, _kwargs
)
662 def SetStyle(self
, *_args
, **_kwargs
):
663 val
= apply(controlsc
.wxTextCtrl_SetStyle
,(self
,) + _args
, _kwargs
)
665 def SetDefaultStyle(self
, *_args
, **_kwargs
):
666 val
= apply(controlsc
.wxTextCtrl_SetDefaultStyle
,(self
,) + _args
, _kwargs
)
668 def GetDefaultStyle(self
, *_args
, **_kwargs
):
669 val
= apply(controlsc
.wxTextCtrl_GetDefaultStyle
,(self
,) + _args
, _kwargs
)
670 if val
: val
= wxTextAttrPtr(val
)
672 def XYToPosition(self
, *_args
, **_kwargs
):
673 val
= apply(controlsc
.wxTextCtrl_XYToPosition
,(self
,) + _args
, _kwargs
)
675 def PositionToXY(self
, *_args
, **_kwargs
):
676 val
= apply(controlsc
.wxTextCtrl_PositionToXY
,(self
,) + _args
, _kwargs
)
678 def ShowPosition(self
, *_args
, **_kwargs
):
679 val
= apply(controlsc
.wxTextCtrl_ShowPosition
,(self
,) + _args
, _kwargs
)
681 def Copy(self
, *_args
, **_kwargs
):
682 val
= apply(controlsc
.wxTextCtrl_Copy
,(self
,) + _args
, _kwargs
)
684 def Cut(self
, *_args
, **_kwargs
):
685 val
= apply(controlsc
.wxTextCtrl_Cut
,(self
,) + _args
, _kwargs
)
687 def Paste(self
, *_args
, **_kwargs
):
688 val
= apply(controlsc
.wxTextCtrl_Paste
,(self
,) + _args
, _kwargs
)
690 def CanCopy(self
, *_args
, **_kwargs
):
691 val
= apply(controlsc
.wxTextCtrl_CanCopy
,(self
,) + _args
, _kwargs
)
693 def CanCut(self
, *_args
, **_kwargs
):
694 val
= apply(controlsc
.wxTextCtrl_CanCut
,(self
,) + _args
, _kwargs
)
696 def CanPaste(self
, *_args
, **_kwargs
):
697 val
= apply(controlsc
.wxTextCtrl_CanPaste
,(self
,) + _args
, _kwargs
)
699 def Undo(self
, *_args
, **_kwargs
):
700 val
= apply(controlsc
.wxTextCtrl_Undo
,(self
,) + _args
, _kwargs
)
702 def Redo(self
, *_args
, **_kwargs
):
703 val
= apply(controlsc
.wxTextCtrl_Redo
,(self
,) + _args
, _kwargs
)
705 def CanUndo(self
, *_args
, **_kwargs
):
706 val
= apply(controlsc
.wxTextCtrl_CanUndo
,(self
,) + _args
, _kwargs
)
708 def CanRedo(self
, *_args
, **_kwargs
):
709 val
= apply(controlsc
.wxTextCtrl_CanRedo
,(self
,) + _args
, _kwargs
)
711 def SetInsertionPoint(self
, *_args
, **_kwargs
):
712 val
= apply(controlsc
.wxTextCtrl_SetInsertionPoint
,(self
,) + _args
, _kwargs
)
714 def SetInsertionPointEnd(self
, *_args
, **_kwargs
):
715 val
= apply(controlsc
.wxTextCtrl_SetInsertionPointEnd
,(self
,) + _args
, _kwargs
)
717 def GetInsertionPoint(self
, *_args
, **_kwargs
):
718 val
= apply(controlsc
.wxTextCtrl_GetInsertionPoint
,(self
,) + _args
, _kwargs
)
720 def GetLastPosition(self
, *_args
, **_kwargs
):
721 val
= apply(controlsc
.wxTextCtrl_GetLastPosition
,(self
,) + _args
, _kwargs
)
723 def SetSelection(self
, *_args
, **_kwargs
):
724 val
= apply(controlsc
.wxTextCtrl_SetSelection
,(self
,) + _args
, _kwargs
)
726 def SelectAll(self
, *_args
, **_kwargs
):
727 val
= apply(controlsc
.wxTextCtrl_SelectAll
,(self
,) + _args
, _kwargs
)
729 def SetEditable(self
, *_args
, **_kwargs
):
730 val
= apply(controlsc
.wxTextCtrl_SetEditable
,(self
,) + _args
, _kwargs
)
732 def write(self
, *_args
, **_kwargs
):
733 val
= apply(controlsc
.wxTextCtrl_write
,(self
,) + _args
, _kwargs
)
735 def GetString(self
, *_args
, **_kwargs
):
736 val
= apply(controlsc
.wxTextCtrl_GetString
,(self
,) + _args
, _kwargs
)
739 return "<C wxTextCtrl instance at %s>" % (self
.this
,)
740 class wxTextCtrl(wxTextCtrlPtr
):
741 def __init__(self
,*_args
,**_kwargs
):
742 self
.this
= apply(controlsc
.new_wxTextCtrl
,_args
,_kwargs
)
744 self
._setOORInfo
(self
)
748 def wxPreTextCtrl(*_args
,**_kwargs
):
749 val
= wxTextCtrlPtr(apply(controlsc
.new_wxPreTextCtrl
,_args
,_kwargs
))
755 class wxScrollBarPtr(wxControlPtr
):
756 def __init__(self
,this
):
759 def Create(self
, *_args
, **_kwargs
):
760 val
= apply(controlsc
.wxScrollBar_Create
,(self
,) + _args
, _kwargs
)
762 def GetRange(self
, *_args
, **_kwargs
):
763 val
= apply(controlsc
.wxScrollBar_GetRange
,(self
,) + _args
, _kwargs
)
765 def GetPageSize(self
, *_args
, **_kwargs
):
766 val
= apply(controlsc
.wxScrollBar_GetPageSize
,(self
,) + _args
, _kwargs
)
768 def GetThumbPosition(self
, *_args
, **_kwargs
):
769 val
= apply(controlsc
.wxScrollBar_GetThumbPosition
,(self
,) + _args
, _kwargs
)
771 def GetThumbSize(self
, *_args
, **_kwargs
):
772 val
= apply(controlsc
.wxScrollBar_GetThumbSize
,(self
,) + _args
, _kwargs
)
774 def GetThumbLength(self
, *_args
, **_kwargs
):
775 val
= apply(controlsc
.wxScrollBar_GetThumbLength
,(self
,) + _args
, _kwargs
)
777 def IsVertical(self
, *_args
, **_kwargs
):
778 val
= apply(controlsc
.wxScrollBar_IsVertical
,(self
,) + _args
, _kwargs
)
780 def SetThumbPosition(self
, *_args
, **_kwargs
):
781 val
= apply(controlsc
.wxScrollBar_SetThumbPosition
,(self
,) + _args
, _kwargs
)
783 def SetScrollbar(self
, *_args
, **_kwargs
):
784 val
= apply(controlsc
.wxScrollBar_SetScrollbar
,(self
,) + _args
, _kwargs
)
787 return "<C wxScrollBar instance at %s>" % (self
.this
,)
788 class wxScrollBar(wxScrollBarPtr
):
789 def __init__(self
,*_args
,**_kwargs
):
790 self
.this
= apply(controlsc
.new_wxScrollBar
,_args
,_kwargs
)
792 self
._setOORInfo
(self
)
796 def wxPreScrollBar(*_args
,**_kwargs
):
797 val
= wxScrollBarPtr(apply(controlsc
.new_wxPreScrollBar
,_args
,_kwargs
))
803 class wxSpinButtonPtr(wxControlPtr
):
804 def __init__(self
,this
):
807 def Create(self
, *_args
, **_kwargs
):
808 val
= apply(controlsc
.wxSpinButton_Create
,(self
,) + _args
, _kwargs
)
810 def GetMax(self
, *_args
, **_kwargs
):
811 val
= apply(controlsc
.wxSpinButton_GetMax
,(self
,) + _args
, _kwargs
)
813 def GetMin(self
, *_args
, **_kwargs
):
814 val
= apply(controlsc
.wxSpinButton_GetMin
,(self
,) + _args
, _kwargs
)
816 def GetValue(self
, *_args
, **_kwargs
):
817 val
= apply(controlsc
.wxSpinButton_GetValue
,(self
,) + _args
, _kwargs
)
819 def SetRange(self
, *_args
, **_kwargs
):
820 val
= apply(controlsc
.wxSpinButton_SetRange
,(self
,) + _args
, _kwargs
)
822 def SetValue(self
, *_args
, **_kwargs
):
823 val
= apply(controlsc
.wxSpinButton_SetValue
,(self
,) + _args
, _kwargs
)
826 return "<C wxSpinButton instance at %s>" % (self
.this
,)
827 class wxSpinButton(wxSpinButtonPtr
):
828 def __init__(self
,*_args
,**_kwargs
):
829 self
.this
= apply(controlsc
.new_wxSpinButton
,_args
,_kwargs
)
831 self
._setOORInfo
(self
)
835 def wxPreSpinButton(*_args
,**_kwargs
):
836 val
= wxSpinButtonPtr(apply(controlsc
.new_wxPreSpinButton
,_args
,_kwargs
))
842 class wxStaticBitmapPtr(wxControlPtr
):
843 def __init__(self
,this
):
846 def Create(self
, *_args
, **_kwargs
):
847 val
= apply(controlsc
.wxStaticBitmap_Create
,(self
,) + _args
, _kwargs
)
849 def GetBitmap(self
, *_args
, **_kwargs
):
850 val
= apply(controlsc
.wxStaticBitmap_GetBitmap
,(self
,) + _args
, _kwargs
)
851 if val
: val
= wxBitmapPtr(val
) ; val
.thisown
= 1
853 def SetBitmap(self
, *_args
, **_kwargs
):
854 val
= apply(controlsc
.wxStaticBitmap_SetBitmap
,(self
,) + _args
, _kwargs
)
856 def SetIcon(self
, *_args
, **_kwargs
):
857 val
= apply(controlsc
.wxStaticBitmap_SetIcon
,(self
,) + _args
, _kwargs
)
860 return "<C wxStaticBitmap instance at %s>" % (self
.this
,)
861 class wxStaticBitmap(wxStaticBitmapPtr
):
862 def __init__(self
,*_args
,**_kwargs
):
863 self
.this
= apply(controlsc
.new_wxStaticBitmap
,_args
,_kwargs
)
865 self
._setOORInfo
(self
)
869 def wxPreStaticBitmap(*_args
,**_kwargs
):
870 val
= wxStaticBitmapPtr(apply(controlsc
.new_wxPreStaticBitmap
,_args
,_kwargs
))
876 class wxRadioBoxPtr(wxControlPtr
):
877 def __init__(self
,this
):
880 def Create(self
, *_args
, **_kwargs
):
881 val
= apply(controlsc
.wxRadioBox_Create
,(self
,) + _args
, _kwargs
)
883 def Enable(self
, *_args
, **_kwargs
):
884 val
= apply(controlsc
.wxRadioBox_Enable
,(self
,) + _args
, _kwargs
)
886 def EnableItem(self
, *_args
, **_kwargs
):
887 val
= apply(controlsc
.wxRadioBox_EnableItem
,(self
,) + _args
, _kwargs
)
889 def FindString(self
, *_args
, **_kwargs
):
890 val
= apply(controlsc
.wxRadioBox_FindString
,(self
,) + _args
, _kwargs
)
892 def GetString(self
, *_args
, **_kwargs
):
893 val
= apply(controlsc
.wxRadioBox_GetString
,(self
,) + _args
, _kwargs
)
895 def SetString(self
, *_args
, **_kwargs
):
896 val
= apply(controlsc
.wxRadioBox_SetString
,(self
,) + _args
, _kwargs
)
898 def GetColumnCount(self
, *_args
, **_kwargs
):
899 val
= apply(controlsc
.wxRadioBox_GetColumnCount
,(self
,) + _args
, _kwargs
)
901 def GetRowCount(self
, *_args
, **_kwargs
):
902 val
= apply(controlsc
.wxRadioBox_GetRowCount
,(self
,) + _args
, _kwargs
)
904 def GetSelection(self
, *_args
, **_kwargs
):
905 val
= apply(controlsc
.wxRadioBox_GetSelection
,(self
,) + _args
, _kwargs
)
907 def GetStringSelection(self
, *_args
, **_kwargs
):
908 val
= apply(controlsc
.wxRadioBox_GetStringSelection
,(self
,) + _args
, _kwargs
)
910 def GetCount(self
, *_args
, **_kwargs
):
911 val
= apply(controlsc
.wxRadioBox_GetCount
,(self
,) + _args
, _kwargs
)
913 def SetSelection(self
, *_args
, **_kwargs
):
914 val
= apply(controlsc
.wxRadioBox_SetSelection
,(self
,) + _args
, _kwargs
)
916 def SetStringSelection(self
, *_args
, **_kwargs
):
917 val
= apply(controlsc
.wxRadioBox_SetStringSelection
,(self
,) + _args
, _kwargs
)
919 def Show(self
, *_args
, **_kwargs
):
920 val
= apply(controlsc
.wxRadioBox_Show
,(self
,) + _args
, _kwargs
)
922 def ShowItem(self
, *_args
, **_kwargs
):
923 val
= apply(controlsc
.wxRadioBox_ShowItem
,(self
,) + _args
, _kwargs
)
926 return "<C wxRadioBox instance at %s>" % (self
.this
,)
928 GetItemLabel
= GetString
929 SetItemLabel
= SetString
932 class wxRadioBox(wxRadioBoxPtr
):
933 def __init__(self
,*_args
,**_kwargs
):
934 self
.this
= apply(controlsc
.new_wxRadioBox
,_args
,_kwargs
)
936 self
._setOORInfo
(self
)
940 def wxPreRadioBox(*_args
,**_kwargs
):
941 val
= wxRadioBoxPtr(apply(controlsc
.new_wxPreRadioBox
,_args
,_kwargs
))
947 class wxRadioButtonPtr(wxControlPtr
):
948 def __init__(self
,this
):
951 def Create(self
, *_args
, **_kwargs
):
952 val
= apply(controlsc
.wxRadioButton_Create
,(self
,) + _args
, _kwargs
)
954 def GetValue(self
, *_args
, **_kwargs
):
955 val
= apply(controlsc
.wxRadioButton_GetValue
,(self
,) + _args
, _kwargs
)
957 def SetValue(self
, *_args
, **_kwargs
):
958 val
= apply(controlsc
.wxRadioButton_SetValue
,(self
,) + _args
, _kwargs
)
961 return "<C wxRadioButton instance at %s>" % (self
.this
,)
962 class wxRadioButton(wxRadioButtonPtr
):
963 def __init__(self
,*_args
,**_kwargs
):
964 self
.this
= apply(controlsc
.new_wxRadioButton
,_args
,_kwargs
)
966 self
._setOORInfo
(self
)
970 def wxPreRadioButton(*_args
,**_kwargs
):
971 val
= wxRadioButtonPtr(apply(controlsc
.new_wxPreRadioButton
,_args
,_kwargs
))
977 class wxSliderPtr(wxControlPtr
):
978 def __init__(self
,this
):
981 def Create(self
, *_args
, **_kwargs
):
982 val
= apply(controlsc
.wxSlider_Create
,(self
,) + _args
, _kwargs
)
984 def ClearSel(self
, *_args
, **_kwargs
):
985 val
= apply(controlsc
.wxSlider_ClearSel
,(self
,) + _args
, _kwargs
)
987 def ClearTicks(self
, *_args
, **_kwargs
):
988 val
= apply(controlsc
.wxSlider_ClearTicks
,(self
,) + _args
, _kwargs
)
990 def GetLineSize(self
, *_args
, **_kwargs
):
991 val
= apply(controlsc
.wxSlider_GetLineSize
,(self
,) + _args
, _kwargs
)
993 def GetMax(self
, *_args
, **_kwargs
):
994 val
= apply(controlsc
.wxSlider_GetMax
,(self
,) + _args
, _kwargs
)
996 def GetMin(self
, *_args
, **_kwargs
):
997 val
= apply(controlsc
.wxSlider_GetMin
,(self
,) + _args
, _kwargs
)
999 def GetPageSize(self
, *_args
, **_kwargs
):
1000 val
= apply(controlsc
.wxSlider_GetPageSize
,(self
,) + _args
, _kwargs
)
1002 def GetSelEnd(self
, *_args
, **_kwargs
):
1003 val
= apply(controlsc
.wxSlider_GetSelEnd
,(self
,) + _args
, _kwargs
)
1005 def GetSelStart(self
, *_args
, **_kwargs
):
1006 val
= apply(controlsc
.wxSlider_GetSelStart
,(self
,) + _args
, _kwargs
)
1008 def GetThumbLength(self
, *_args
, **_kwargs
):
1009 val
= apply(controlsc
.wxSlider_GetThumbLength
,(self
,) + _args
, _kwargs
)
1011 def GetTickFreq(self
, *_args
, **_kwargs
):
1012 val
= apply(controlsc
.wxSlider_GetTickFreq
,(self
,) + _args
, _kwargs
)
1014 def GetValue(self
, *_args
, **_kwargs
):
1015 val
= apply(controlsc
.wxSlider_GetValue
,(self
,) + _args
, _kwargs
)
1017 def SetRange(self
, *_args
, **_kwargs
):
1018 val
= apply(controlsc
.wxSlider_SetRange
,(self
,) + _args
, _kwargs
)
1020 def SetTickFreq(self
, *_args
, **_kwargs
):
1021 val
= apply(controlsc
.wxSlider_SetTickFreq
,(self
,) + _args
, _kwargs
)
1023 def SetLineSize(self
, *_args
, **_kwargs
):
1024 val
= apply(controlsc
.wxSlider_SetLineSize
,(self
,) + _args
, _kwargs
)
1026 def SetPageSize(self
, *_args
, **_kwargs
):
1027 val
= apply(controlsc
.wxSlider_SetPageSize
,(self
,) + _args
, _kwargs
)
1029 def SetSelection(self
, *_args
, **_kwargs
):
1030 val
= apply(controlsc
.wxSlider_SetSelection
,(self
,) + _args
, _kwargs
)
1032 def SetThumbLength(self
, *_args
, **_kwargs
):
1033 val
= apply(controlsc
.wxSlider_SetThumbLength
,(self
,) + _args
, _kwargs
)
1035 def SetTick(self
, *_args
, **_kwargs
):
1036 val
= apply(controlsc
.wxSlider_SetTick
,(self
,) + _args
, _kwargs
)
1038 def SetValue(self
, *_args
, **_kwargs
):
1039 val
= apply(controlsc
.wxSlider_SetValue
,(self
,) + _args
, _kwargs
)
1042 return "<C wxSlider instance at %s>" % (self
.this
,)
1043 class wxSlider(wxSliderPtr
):
1044 def __init__(self
,*_args
,**_kwargs
):
1045 self
.this
= apply(controlsc
.new_wxSlider
,_args
,_kwargs
)
1047 self
._setOORInfo
(self
)
1051 def wxPreSlider(*_args
,**_kwargs
):
1052 val
= wxSliderPtr(apply(controlsc
.new_wxPreSlider
,_args
,_kwargs
))
1054 val
._setOORInfo
(val
)
1058 class wxSpinCtrlPtr(wxSpinButtonPtr
):
1059 def __init__(self
,this
):
1062 def Create(self
, *_args
, **_kwargs
):
1063 val
= apply(controlsc
.wxSpinCtrl_Create
,(self
,) + _args
, _kwargs
)
1065 def GetMax(self
, *_args
, **_kwargs
):
1066 val
= apply(controlsc
.wxSpinCtrl_GetMax
,(self
,) + _args
, _kwargs
)
1068 def GetMin(self
, *_args
, **_kwargs
):
1069 val
= apply(controlsc
.wxSpinCtrl_GetMin
,(self
,) + _args
, _kwargs
)
1071 def GetValue(self
, *_args
, **_kwargs
):
1072 val
= apply(controlsc
.wxSpinCtrl_GetValue
,(self
,) + _args
, _kwargs
)
1074 def SetRange(self
, *_args
, **_kwargs
):
1075 val
= apply(controlsc
.wxSpinCtrl_SetRange
,(self
,) + _args
, _kwargs
)
1077 def SetValue(self
, *_args
, **_kwargs
):
1078 val
= apply(controlsc
.wxSpinCtrl_SetValue
,(self
,) + _args
, _kwargs
)
1081 return "<C wxSpinCtrl instance at %s>" % (self
.this
,)
1082 class wxSpinCtrl(wxSpinCtrlPtr
):
1083 def __init__(self
,*_args
,**_kwargs
):
1084 self
.this
= apply(controlsc
.new_wxSpinCtrl
,_args
,_kwargs
)
1086 self
._setOORInfo
(self
)
1090 def wxPreSpinCtrl(*_args
,**_kwargs
):
1091 val
= wxSpinCtrlPtr(apply(controlsc
.new_wxPreSpinCtrl
,_args
,_kwargs
))
1093 val
._setOORInfo
(val
)
1099 #-------------- FUNCTION WRAPPERS ------------------
1101 def wxButton_GetDefaultSize(*_args
, **_kwargs
):
1102 val
= apply(controlsc
.wxButton_GetDefaultSize
,_args
,_kwargs
)
1103 if val
: val
= wxSizePtr(val
); val
.thisown
= 1
1106 def wxTextAttr_Combine(*_args
, **_kwargs
):
1107 val
= apply(controlsc
.wxTextAttr_Combine
,_args
,_kwargs
)
1108 if val
: val
= wxTextAttrPtr(val
); val
.thisown
= 1
1113 #-------------- VARIABLE WRAPPERS ------------------
1115 cvar
= controlsc
.cvar
1116 wxDefaultValidator
= wxValidatorPtr(controlsc
.cvar
.wxDefaultValidator
)