home *** CD-ROM | disk | FTP | other *** search
/ com!online 2005 April / com_0405_1.iso / opensource / BTpp-0.5.4-bin.exe / $INSTDIR / BT++.exe / wxPython / controls.pyo (.txt) < prev    next >
Encoding:
Python Compiled Bytecode  |  2003-04-19  |  94.6 KB  |  1,806 lines

  1. # Source Generated with Decompyle++
  2. # File: in.pyo (Python 2.2)
  3.  
  4. import controlsc
  5. from misc import *
  6. from windows import *
  7. from gdi import *
  8. from fonts import *
  9. from clip_dnd import *
  10. from events import *
  11. import wx
  12.  
  13. class wxControlPtr(wxWindowPtr):
  14.     
  15.     def __init__(self, this):
  16.         self.this = this
  17.         self.thisown = 0
  18.  
  19.     
  20.     def Create(self, *_args, **_kwargs):
  21.         val = apply(controlsc.wxControl_Create, (self,) + _args, _kwargs)
  22.         return val
  23.  
  24.     
  25.     def Command(self, *_args, **_kwargs):
  26.         val = apply(controlsc.wxControl_Command, (self,) + _args, _kwargs)
  27.         return val
  28.  
  29.     
  30.     def GetLabel(self, *_args, **_kwargs):
  31.         val = apply(controlsc.wxControl_GetLabel, (self,) + _args, _kwargs)
  32.         return val
  33.  
  34.     
  35.     def SetLabel(self, *_args, **_kwargs):
  36.         val = apply(controlsc.wxControl_SetLabel, (self,) + _args, _kwargs)
  37.         return val
  38.  
  39.     
  40.     def __repr__(self):
  41.         return '<C wxControl instance at %s>' % (self.this,)
  42.  
  43.  
  44.  
  45. class wxControl(wxControlPtr):
  46.     
  47.     def __init__(self, *_args, **_kwargs):
  48.         self.this = apply(controlsc.new_wxControl, _args, _kwargs)
  49.         self.thisown = 1
  50.         self._setOORInfo(self)
  51.  
  52.  
  53.  
  54. def wxPreControl(*_args, **_kwargs):
  55.     val = wxControlPtr(apply(controlsc.new_wxPreControl, _args, _kwargs))
  56.     val.thisown = 1
  57.     val._setOORInfo(val)
  58.     return val
  59.  
  60.  
  61. class wxControlWithItemsPtr(wxControlPtr):
  62.     
  63.     def __init__(self, this):
  64.         self.this = this
  65.         self.thisown = 0
  66.  
  67.     
  68.     def Delete(self, *_args, **_kwargs):
  69.         val = apply(controlsc.wxControlWithItems_Delete, (self,) + _args, _kwargs)
  70.         return val
  71.  
  72.     
  73.     def GetCount(self, *_args, **_kwargs):
  74.         val = apply(controlsc.wxControlWithItems_GetCount, (self,) + _args, _kwargs)
  75.         return val
  76.  
  77.     
  78.     def GetString(self, *_args, **_kwargs):
  79.         val = apply(controlsc.wxControlWithItems_GetString, (self,) + _args, _kwargs)
  80.         return val
  81.  
  82.     
  83.     def SetString(self, *_args, **_kwargs):
  84.         val = apply(controlsc.wxControlWithItems_SetString, (self,) + _args, _kwargs)
  85.         return val
  86.  
  87.     
  88.     def FindString(self, *_args, **_kwargs):
  89.         val = apply(controlsc.wxControlWithItems_FindString, (self,) + _args, _kwargs)
  90.         return val
  91.  
  92.     
  93.     def Select(self, *_args, **_kwargs):
  94.         val = apply(controlsc.wxControlWithItems_Select, (self,) + _args, _kwargs)
  95.         return val
  96.  
  97.     
  98.     def GetSelection(self, *_args, **_kwargs):
  99.         val = apply(controlsc.wxControlWithItems_GetSelection, (self,) + _args, _kwargs)
  100.         return val
  101.  
  102.     
  103.     def GetStringSelection(self, *_args, **_kwargs):
  104.         val = apply(controlsc.wxControlWithItems_GetStringSelection, (self,) + _args, _kwargs)
  105.         return val
  106.  
  107.     
  108.     def Append(self, *_args, **_kwargs):
  109.         val = apply(controlsc.wxControlWithItems_Append, (self,) + _args, _kwargs)
  110.         return val
  111.  
  112.     
  113.     def GetClientData(self, *_args, **_kwargs):
  114.         val = apply(controlsc.wxControlWithItems_GetClientData, (self,) + _args, _kwargs)
  115.         return val
  116.  
  117.     
  118.     def SetClientData(self, *_args, **_kwargs):
  119.         val = apply(controlsc.wxControlWithItems_SetClientData, (self,) + _args, _kwargs)
  120.         return val
  121.  
  122.     
  123.     def AppendItems(self, *_args, **_kwargs):
  124.         val = apply(controlsc.wxControlWithItems_AppendItems, (self,) + _args, _kwargs)
  125.         return val
  126.  
  127.     
  128.     def __repr__(self):
  129.         return '<C wxControlWithItems instance at %s>' % (self.this,)
  130.  
  131.     Number = GetCount
  132.  
  133.  
  134. class wxControlWithItems(wxControlWithItemsPtr):
  135.     
  136.     def __init__(self, this):
  137.         self.this = this
  138.  
  139.  
  140.  
  141. class wxButtonPtr(wxControlPtr):
  142.     
  143.     def __init__(self, this):
  144.         self.this = this
  145.         self.thisown = 0
  146.  
  147.     
  148.     def Create(self, *_args, **_kwargs):
  149.         val = apply(controlsc.wxButton_Create, (self,) + _args, _kwargs)
  150.         return val
  151.  
  152.     
  153.     def SetDefault(self, *_args, **_kwargs):
  154.         val = apply(controlsc.wxButton_SetDefault, (self,) + _args, _kwargs)
  155.         return val
  156.  
  157.     
  158.     def SetBackgroundColour(self, *_args, **_kwargs):
  159.         val = apply(controlsc.wxButton_SetBackgroundColour, (self,) + _args, _kwargs)
  160.         return val
  161.  
  162.     
  163.     def SetForegroundColour(self, *_args, **_kwargs):
  164.         val = apply(controlsc.wxButton_SetForegroundColour, (self,) + _args, _kwargs)
  165.         return val
  166.  
  167.     
  168.     def SetImageLabel(self, *_args, **_kwargs):
  169.         val = apply(controlsc.wxButton_SetImageLabel, (self,) + _args, _kwargs)
  170.         return val
  171.  
  172.     
  173.     def SetImageMargins(self, *_args, **_kwargs):
  174.         val = apply(controlsc.wxButton_SetImageMargins, (self,) + _args, _kwargs)
  175.         return val
  176.  
  177.     
  178.     def __repr__(self):
  179.         return '<C wxButton instance at %s>' % (self.this,)
  180.  
  181.  
  182.  
  183. class wxButton(wxButtonPtr):
  184.     
  185.     def __init__(self, *_args, **_kwargs):
  186.         self.this = apply(controlsc.new_wxButton, _args, _kwargs)
  187.         self.thisown = 1
  188.         self._setOORInfo(self)
  189.  
  190.  
  191.  
  192. def wxPreButton(*_args, **_kwargs):
  193.     val = wxButtonPtr(apply(controlsc.new_wxPreButton, _args, _kwargs))
  194.     val.thisown = 1
  195.     val._setOORInfo(val)
  196.     return val
  197.  
  198.  
  199. class wxBitmapButtonPtr(wxButtonPtr):
  200.     
  201.     def __init__(self, this):
  202.         self.this = this
  203.         self.thisown = 0
  204.  
  205.     
  206.     def Create(self, *_args, **_kwargs):
  207.         val = apply(controlsc.wxBitmapButton_Create, (self,) + _args, _kwargs)
  208.         return val
  209.  
  210.     
  211.     def GetBitmapLabel(self, *_args, **_kwargs):
  212.         val = apply(controlsc.wxBitmapButton_GetBitmapLabel, (self,) + _args, _kwargs)
  213.         if val:
  214.             val = wxBitmapPtr(val)
  215.             val.thisown = 1
  216.         
  217.         return val
  218.  
  219.     
  220.     def GetBitmapDisabled(self, *_args, **_kwargs):
  221.         val = apply(controlsc.wxBitmapButton_GetBitmapDisabled, (self,) + _args, _kwargs)
  222.         if val:
  223.             val = wxBitmapPtr(val)
  224.             val.thisown = 1
  225.         
  226.         return val
  227.  
  228.     
  229.     def GetBitmapFocus(self, *_args, **_kwargs):
  230.         val = apply(controlsc.wxBitmapButton_GetBitmapFocus, (self,) + _args, _kwargs)
  231.         if val:
  232.             val = wxBitmapPtr(val)
  233.             val.thisown = 1
  234.         
  235.         return val
  236.  
  237.     
  238.     def GetBitmapSelected(self, *_args, **_kwargs):
  239.         val = apply(controlsc.wxBitmapButton_GetBitmapSelected, (self,) + _args, _kwargs)
  240.         if val:
  241.             val = wxBitmapPtr(val)
  242.             val.thisown = 1
  243.         
  244.         return val
  245.  
  246.     
  247.     def SetBitmapDisabled(self, *_args, **_kwargs):
  248.         val = apply(controlsc.wxBitmapButton_SetBitmapDisabled, (self,) + _args, _kwargs)
  249.         return val
  250.  
  251.     
  252.     def SetBitmapFocus(self, *_args, **_kwargs):
  253.         val = apply(controlsc.wxBitmapButton_SetBitmapFocus, (self,) + _args, _kwargs)
  254.         return val
  255.  
  256.     
  257.     def SetBitmapSelected(self, *_args, **_kwargs):
  258.         val = apply(controlsc.wxBitmapButton_SetBitmapSelected, (self,) + _args, _kwargs)
  259.         return val
  260.  
  261.     
  262.     def SetBitmapLabel(self, *_args, **_kwargs):
  263.         val = apply(controlsc.wxBitmapButton_SetBitmapLabel, (self,) + _args, _kwargs)
  264.         return val
  265.  
  266.     
  267.     def SetMargins(self, *_args, **_kwargs):
  268.         val = apply(controlsc.wxBitmapButton_SetMargins, (self,) + _args, _kwargs)
  269.         return val
  270.  
  271.     
  272.     def GetMarginX(self, *_args, **_kwargs):
  273.         val = apply(controlsc.wxBitmapButton_GetMarginX, (self,) + _args, _kwargs)
  274.         return val
  275.  
  276.     
  277.     def GetMarginY(self, *_args, **_kwargs):
  278.         val = apply(controlsc.wxBitmapButton_GetMarginY, (self,) + _args, _kwargs)
  279.         return val
  280.  
  281.     
  282.     def __repr__(self):
  283.         return '<C wxBitmapButton instance at %s>' % (self.this,)
  284.  
  285.  
  286.  
  287. class wxBitmapButton(wxBitmapButtonPtr):
  288.     
  289.     def __init__(self, *_args, **_kwargs):
  290.         self.this = apply(controlsc.new_wxBitmapButton, _args, _kwargs)
  291.         self.thisown = 1
  292.         self._setOORInfo(self)
  293.  
  294.  
  295.  
  296. def wxPreBitmapButton(*_args, **_kwargs):
  297.     val = wxBitmapButtonPtr(apply(controlsc.new_wxPreBitmapButton, _args, _kwargs))
  298.     val.thisown = 1
  299.     val._setOORInfo(val)
  300.     return val
  301.  
  302.  
  303. class wxCheckBoxPtr(wxControlPtr):
  304.     
  305.     def __init__(self, this):
  306.         self.this = this
  307.         self.thisown = 0
  308.  
  309.     
  310.     def Create(self, *_args, **_kwargs):
  311.         val = apply(controlsc.wxCheckBox_Create, (self,) + _args, _kwargs)
  312.         return val
  313.  
  314.     
  315.     def GetValue(self, *_args, **_kwargs):
  316.         val = apply(controlsc.wxCheckBox_GetValue, (self,) + _args, _kwargs)
  317.         return val
  318.  
  319.     
  320.     def IsChecked(self, *_args, **_kwargs):
  321.         val = apply(controlsc.wxCheckBox_IsChecked, (self,) + _args, _kwargs)
  322.         return val
  323.  
  324.     
  325.     def SetValue(self, *_args, **_kwargs):
  326.         val = apply(controlsc.wxCheckBox_SetValue, (self,) + _args, _kwargs)
  327.         return val
  328.  
  329.     
  330.     def __repr__(self):
  331.         return '<C wxCheckBox instance at %s>' % (self.this,)
  332.  
  333.  
  334.  
  335. class wxCheckBox(wxCheckBoxPtr):
  336.     
  337.     def __init__(self, *_args, **_kwargs):
  338.         self.this = apply(controlsc.new_wxCheckBox, _args, _kwargs)
  339.         self.thisown = 1
  340.         self._setOORInfo(self)
  341.  
  342.  
  343.  
  344. def wxPreCheckBox(*_args, **_kwargs):
  345.     val = wxCheckBoxPtr(apply(controlsc.new_wxPreCheckBox, _args, _kwargs))
  346.     val.thisown = 1
  347.     val._setOORInfo(val)
  348.     return val
  349.  
  350.  
  351. class wxChoicePtr(wxControlWithItemsPtr):
  352.     
  353.     def __init__(self, this):
  354.         self.this = this
  355.         self.thisown = 0
  356.  
  357.     
  358.     def Create(self, *_args, **_kwargs):
  359.         val = apply(controlsc.wxChoice_Create, (self,) + _args, _kwargs)
  360.         return val
  361.  
  362.     
  363.     def Clear(self, *_args, **_kwargs):
  364.         val = apply(controlsc.wxChoice_Clear, (self,) + _args, _kwargs)
  365.         return val
  366.  
  367.     
  368.     def GetColumns(self, *_args, **_kwargs):
  369.         val = apply(controlsc.wxChoice_GetColumns, (self,) + _args, _kwargs)
  370.         return val
  371.  
  372.     
  373.     def SetColumns(self, *_args, **_kwargs):
  374.         val = apply(controlsc.wxChoice_SetColumns, (self,) + _args, _kwargs)
  375.         return val
  376.  
  377.     
  378.     def SetSelection(self, *_args, **_kwargs):
  379.         val = apply(controlsc.wxChoice_SetSelection, (self,) + _args, _kwargs)
  380.         return val
  381.  
  382.     
  383.     def SetStringSelection(self, *_args, **_kwargs):
  384.         val = apply(controlsc.wxChoice_SetStringSelection, (self,) + _args, _kwargs)
  385.         return val
  386.  
  387.     
  388.     def SetString(self, *_args, **_kwargs):
  389.         val = apply(controlsc.wxChoice_SetString, (self,) + _args, _kwargs)
  390.         return val
  391.  
  392.     
  393.     def __repr__(self):
  394.         return '<C wxChoice instance at %s>' % (self.this,)
  395.  
  396.     Select = SetSelection
  397.  
  398.  
  399. class wxChoice(wxChoicePtr):
  400.     
  401.     def __init__(self, *_args, **_kwargs):
  402.         self.this = apply(controlsc.new_wxChoice, _args, _kwargs)
  403.         self.thisown = 1
  404.         self._setOORInfo(self)
  405.  
  406.  
  407.  
  408. def wxPreChoice(*_args, **_kwargs):
  409.     val = wxChoicePtr(apply(controlsc.new_wxPreChoice, _args, _kwargs))
  410.     val.thisown = 1
  411.     val._setOORInfo(val)
  412.     return val
  413.  
  414.  
  415. class wxComboBoxPtr(wxChoicePtr):
  416.     
  417.     def __init__(self, this):
  418.         self.this = this
  419.         self.thisown = 0
  420.  
  421.     
  422.     def Create(self, *_args, **_kwargs):
  423.         val = apply(controlsc.wxComboBox_Create, (self,) + _args, _kwargs)
  424.         return val
  425.  
  426.     
  427.     def Copy(self, *_args, **_kwargs):
  428.         val = apply(controlsc.wxComboBox_Copy, (self,) + _args, _kwargs)
  429.         return val
  430.  
  431.     
  432.     def Cut(self, *_args, **_kwargs):
  433.         val = apply(controlsc.wxComboBox_Cut, (self,) + _args, _kwargs)
  434.         return val
  435.  
  436.     
  437.     def GetInsertionPoint(self, *_args, **_kwargs):
  438.         val = apply(controlsc.wxComboBox_GetInsertionPoint, (self,) + _args, _kwargs)
  439.         return val
  440.  
  441.     
  442.     def GetLastPosition(self, *_args, **_kwargs):
  443.         val = apply(controlsc.wxComboBox_GetLastPosition, (self,) + _args, _kwargs)
  444.         return val
  445.  
  446.     
  447.     def GetValue(self, *_args, **_kwargs):
  448.         val = apply(controlsc.wxComboBox_GetValue, (self,) + _args, _kwargs)
  449.         return val
  450.  
  451.     
  452.     def Paste(self, *_args, **_kwargs):
  453.         val = apply(controlsc.wxComboBox_Paste, (self,) + _args, _kwargs)
  454.         return val
  455.  
  456.     
  457.     def Replace(self, *_args, **_kwargs):
  458.         val = apply(controlsc.wxComboBox_Replace, (self,) + _args, _kwargs)
  459.         return val
  460.  
  461.     
  462.     def Remove(self, *_args, **_kwargs):
  463.         val = apply(controlsc.wxComboBox_Remove, (self,) + _args, _kwargs)
  464.         return val
  465.  
  466.     
  467.     def SetInsertionPoint(self, *_args, **_kwargs):
  468.         val = apply(controlsc.wxComboBox_SetInsertionPoint, (self,) + _args, _kwargs)
  469.         return val
  470.  
  471.     
  472.     def SetInsertionPointEnd(self, *_args, **_kwargs):
  473.         val = apply(controlsc.wxComboBox_SetInsertionPointEnd, (self,) + _args, _kwargs)
  474.         return val
  475.  
  476.     
  477.     def SetSelection(self, *_args, **_kwargs):
  478.         val = apply(controlsc.wxComboBox_SetSelection, (self,) + _args, _kwargs)
  479.         return val
  480.  
  481.     
  482.     def SetMark(self, *_args, **_kwargs):
  483.         val = apply(controlsc.wxComboBox_SetMark, (self,) + _args, _kwargs)
  484.         return val
  485.  
  486.     
  487.     def SetValue(self, *_args, **_kwargs):
  488.         val = apply(controlsc.wxComboBox_SetValue, (self,) + _args, _kwargs)
  489.         return val
  490.  
  491.     
  492.     def SetEditable(self, *_args, **_kwargs):
  493.         val = apply(controlsc.wxComboBox_SetEditable, (self,) + _args, _kwargs)
  494.         return val
  495.  
  496.     
  497.     def __repr__(self):
  498.         return '<C wxComboBox instance at %s>' % (self.this,)
  499.  
  500.  
  501.  
  502. class wxComboBox(wxComboBoxPtr):
  503.     
  504.     def __init__(self, *_args, **_kwargs):
  505.         self.this = apply(controlsc.new_wxComboBox, _args, _kwargs)
  506.         self.thisown = 1
  507.         self._setOORInfo(self)
  508.  
  509.  
  510.  
  511. def wxPreComboBox(*_args, **_kwargs):
  512.     val = wxComboBoxPtr(apply(controlsc.new_wxPreComboBox, _args, _kwargs))
  513.     val.thisown = 1
  514.     val._setOORInfo(val)
  515.     return val
  516.  
  517.  
  518. class wxGaugePtr(wxControlPtr):
  519.     
  520.     def __init__(self, this):
  521.         self.this = this
  522.         self.thisown = 0
  523.  
  524.     
  525.     def Create(self, *_args, **_kwargs):
  526.         val = apply(controlsc.wxGauge_Create, (self,) + _args, _kwargs)
  527.         return val
  528.  
  529.     
  530.     def GetBezelFace(self, *_args, **_kwargs):
  531.         val = apply(controlsc.wxGauge_GetBezelFace, (self,) + _args, _kwargs)
  532.         return val
  533.  
  534.     
  535.     def GetRange(self, *_args, **_kwargs):
  536.         val = apply(controlsc.wxGauge_GetRange, (self,) + _args, _kwargs)
  537.         return val
  538.  
  539.     
  540.     def GetShadowWidth(self, *_args, **_kwargs):
  541.         val = apply(controlsc.wxGauge_GetShadowWidth, (self,) + _args, _kwargs)
  542.         return val
  543.  
  544.     
  545.     def GetValue(self, *_args, **_kwargs):
  546.         val = apply(controlsc.wxGauge_GetValue, (self,) + _args, _kwargs)
  547.         return val
  548.  
  549.     
  550.     def SetBezelFace(self, *_args, **_kwargs):
  551.         val = apply(controlsc.wxGauge_SetBezelFace, (self,) + _args, _kwargs)
  552.         return val
  553.  
  554.     
  555.     def SetRange(self, *_args, **_kwargs):
  556.         val = apply(controlsc.wxGauge_SetRange, (self,) + _args, _kwargs)
  557.         return val
  558.  
  559.     
  560.     def SetShadowWidth(self, *_args, **_kwargs):
  561.         val = apply(controlsc.wxGauge_SetShadowWidth, (self,) + _args, _kwargs)
  562.         return val
  563.  
  564.     
  565.     def SetValue(self, *_args, **_kwargs):
  566.         val = apply(controlsc.wxGauge_SetValue, (self,) + _args, _kwargs)
  567.         return val
  568.  
  569.     
  570.     def __repr__(self):
  571.         return '<C wxGauge instance at %s>' % (self.this,)
  572.  
  573.  
  574.  
  575. class wxGauge(wxGaugePtr):
  576.     
  577.     def __init__(self, *_args, **_kwargs):
  578.         self.this = apply(controlsc.new_wxGauge, _args, _kwargs)
  579.         self.thisown = 1
  580.         self._setOORInfo(self)
  581.  
  582.  
  583.  
  584. def wxPreGauge(*_args, **_kwargs):
  585.     val = wxGaugePtr(apply(controlsc.new_wxPreGauge, _args, _kwargs))
  586.     val.thisown = 1
  587.     val._setOORInfo(val)
  588.     return val
  589.  
  590.  
  591. class wxStaticBoxPtr(wxControlPtr):
  592.     
  593.     def __init__(self, this):
  594.         self.this = this
  595.         self.thisown = 0
  596.  
  597.     
  598.     def Create(self, *_args, **_kwargs):
  599.         val = apply(controlsc.wxStaticBox_Create, (self,) + _args, _kwargs)
  600.         return val
  601.  
  602.     
  603.     def __repr__(self):
  604.         return '<C wxStaticBox instance at %s>' % (self.this,)
  605.  
  606.  
  607.  
  608. class wxStaticBox(wxStaticBoxPtr):
  609.     
  610.     def __init__(self, *_args, **_kwargs):
  611.         self.this = apply(controlsc.new_wxStaticBox, _args, _kwargs)
  612.         self.thisown = 1
  613.         self._setOORInfo(self)
  614.  
  615.  
  616.  
  617. def wxPreStaticBox(*_args, **_kwargs):
  618.     val = wxStaticBoxPtr(apply(controlsc.new_wxPreStaticBox, _args, _kwargs))
  619.     val.thisown = 1
  620.     val._setOORInfo(val)
  621.     return val
  622.  
  623.  
  624. class wxStaticLinePtr(wxControlPtr):
  625.     
  626.     def __init__(self, this):
  627.         self.this = this
  628.         self.thisown = 0
  629.  
  630.     
  631.     def Create(self, *_args, **_kwargs):
  632.         val = apply(controlsc.wxStaticLine_Create, (self,) + _args, _kwargs)
  633.         return val
  634.  
  635.     
  636.     def __repr__(self):
  637.         return '<C wxStaticLine instance at %s>' % (self.this,)
  638.  
  639.  
  640.  
  641. class wxStaticLine(wxStaticLinePtr):
  642.     
  643.     def __init__(self, *_args, **_kwargs):
  644.         self.this = apply(controlsc.new_wxStaticLine, _args, _kwargs)
  645.         self.thisown = 1
  646.         self._setOORInfo(self)
  647.  
  648.  
  649.  
  650. def wxPreStaticLine(*_args, **_kwargs):
  651.     val = wxStaticLinePtr(apply(controlsc.new_wxPreStaticLine, _args, _kwargs))
  652.     val.thisown = 1
  653.     val._setOORInfo(val)
  654.     return val
  655.  
  656.  
  657. class wxStaticTextPtr(wxControlPtr):
  658.     
  659.     def __init__(self, this):
  660.         self.this = this
  661.         self.thisown = 0
  662.  
  663.     
  664.     def Create(self, *_args, **_kwargs):
  665.         val = apply(controlsc.wxStaticText_Create, (self,) + _args, _kwargs)
  666.         return val
  667.  
  668.     
  669.     def GetLabel(self, *_args, **_kwargs):
  670.         val = apply(controlsc.wxStaticText_GetLabel, (self,) + _args, _kwargs)
  671.         return val
  672.  
  673.     
  674.     def SetLabel(self, *_args, **_kwargs):
  675.         val = apply(controlsc.wxStaticText_SetLabel, (self,) + _args, _kwargs)
  676.         return val
  677.  
  678.     
  679.     def __repr__(self):
  680.         return '<C wxStaticText instance at %s>' % (self.this,)
  681.  
  682.  
  683.  
  684. class wxStaticText(wxStaticTextPtr):
  685.     
  686.     def __init__(self, *_args, **_kwargs):
  687.         self.this = apply(controlsc.new_wxStaticText, _args, _kwargs)
  688.         self.thisown = 1
  689.         self._setOORInfo(self)
  690.  
  691.  
  692.  
  693. def wxPreStaticText(*_args, **_kwargs):
  694.     val = wxStaticTextPtr(apply(controlsc.new_wxPreStaticText, _args, _kwargs))
  695.     val.thisown = 1
  696.     val._setOORInfo(val)
  697.     return val
  698.  
  699.  
  700. class wxListBoxPtr(wxControlWithItemsPtr):
  701.     
  702.     def __init__(self, this):
  703.         self.this = this
  704.         self.thisown = 0
  705.  
  706.     
  707.     def Create(self, *_args, **_kwargs):
  708.         val = apply(controlsc.wxListBox_Create, (self,) + _args, _kwargs)
  709.         return val
  710.  
  711.     
  712.     def Clear(self, *_args, **_kwargs):
  713.         val = apply(controlsc.wxListBox_Clear, (self,) + _args, _kwargs)
  714.         return val
  715.  
  716.     
  717.     def Deselect(self, *_args, **_kwargs):
  718.         val = apply(controlsc.wxListBox_Deselect, (self,) + _args, _kwargs)
  719.         return val
  720.  
  721.     
  722.     def GetSelections(self, *_args, **_kwargs):
  723.         val = apply(controlsc.wxListBox_GetSelections, (self,) + _args, _kwargs)
  724.         return val
  725.  
  726.     
  727.     def InsertItems(self, *_args, **_kwargs):
  728.         val = apply(controlsc.wxListBox_InsertItems, (self,) + _args, _kwargs)
  729.         return val
  730.  
  731.     
  732.     def IsSelected(self, *_args, **_kwargs):
  733.         val = apply(controlsc.wxListBox_IsSelected, (self,) + _args, _kwargs)
  734.         return val
  735.  
  736.     
  737.     def Selected(self, *_args, **_kwargs):
  738.         val = apply(controlsc.wxListBox_Selected, (self,) + _args, _kwargs)
  739.         return val
  740.  
  741.     
  742.     def Set(self, *_args, **_kwargs):
  743.         val = apply(controlsc.wxListBox_Set, (self,) + _args, _kwargs)
  744.         return val
  745.  
  746.     
  747.     def SetFirstItem(self, *_args, **_kwargs):
  748.         val = apply(controlsc.wxListBox_SetFirstItem, (self,) + _args, _kwargs)
  749.         return val
  750.  
  751.     
  752.     def SetFirstItemStr(self, *_args, **_kwargs):
  753.         val = apply(controlsc.wxListBox_SetFirstItemStr, (self,) + _args, _kwargs)
  754.         return val
  755.  
  756.     
  757.     def SetSelection(self, *_args, **_kwargs):
  758.         val = apply(controlsc.wxListBox_SetSelection, (self,) + _args, _kwargs)
  759.         return val
  760.  
  761.     
  762.     def SetString(self, *_args, **_kwargs):
  763.         val = apply(controlsc.wxListBox_SetString, (self,) + _args, _kwargs)
  764.         return val
  765.  
  766.     
  767.     def SetStringSelection(self, *_args, **_kwargs):
  768.         val = apply(controlsc.wxListBox_SetStringSelection, (self,) + _args, _kwargs)
  769.         return val
  770.  
  771.     
  772.     def __repr__(self):
  773.         return '<C wxListBox instance at %s>' % (self.this,)
  774.  
  775.  
  776.  
  777. class wxListBox(wxListBoxPtr):
  778.     
  779.     def __init__(self, *_args, **_kwargs):
  780.         self.this = apply(controlsc.new_wxListBox, _args, _kwargs)
  781.         self.thisown = 1
  782.         self._setOORInfo(self)
  783.  
  784.  
  785.  
  786. def wxPreListBox(*_args, **_kwargs):
  787.     val = wxListBoxPtr(apply(controlsc.new_wxPreListBox, _args, _kwargs))
  788.     val.thisown = 1
  789.     val._setOORInfo(val)
  790.     return val
  791.  
  792.  
  793. class wxCheckListBoxPtr(wxListBoxPtr):
  794.     
  795.     def __init__(self, this):
  796.         self.this = this
  797.         self.thisown = 0
  798.  
  799.     
  800.     def Create(self, *_args, **_kwargs):
  801.         val = apply(controlsc.wxCheckListBox_Create, (self,) + _args, _kwargs)
  802.         return val
  803.  
  804.     
  805.     def IsChecked(self, *_args, **_kwargs):
  806.         val = apply(controlsc.wxCheckListBox_IsChecked, (self,) + _args, _kwargs)
  807.         return val
  808.  
  809.     
  810.     def Check(self, *_args, **_kwargs):
  811.         val = apply(controlsc.wxCheckListBox_Check, (self,) + _args, _kwargs)
  812.         return val
  813.  
  814.     
  815.     def InsertItems(self, *_args, **_kwargs):
  816.         val = apply(controlsc.wxCheckListBox_InsertItems, (self,) + _args, _kwargs)
  817.         return val
  818.  
  819.     
  820.     def GetItemHeight(self, *_args, **_kwargs):
  821.         val = apply(controlsc.wxCheckListBox_GetItemHeight, (self,) + _args, _kwargs)
  822.         return val
  823.  
  824.     
  825.     def HitTest(self, *_args, **_kwargs):
  826.         val = apply(controlsc.wxCheckListBox_HitTest, (self,) + _args, _kwargs)
  827.         return val
  828.  
  829.     
  830.     def HitTestXY(self, *_args, **_kwargs):
  831.         val = apply(controlsc.wxCheckListBox_HitTestXY, (self,) + _args, _kwargs)
  832.         return val
  833.  
  834.     
  835.     def __repr__(self):
  836.         return '<C wxCheckListBox instance at %s>' % (self.this,)
  837.  
  838.  
  839.  
  840. class wxCheckListBox(wxCheckListBoxPtr):
  841.     
  842.     def __init__(self, *_args, **_kwargs):
  843.         self.this = apply(controlsc.new_wxCheckListBox, _args, _kwargs)
  844.         self.thisown = 1
  845.         self._setOORInfo(self)
  846.  
  847.  
  848.  
  849. def wxPreCheckListBox(*_args, **_kwargs):
  850.     val = wxCheckListBoxPtr(apply(controlsc.new_wxPreCheckListBox, _args, _kwargs))
  851.     val.thisown = 1
  852.     val._setOORInfo(val)
  853.     return val
  854.  
  855.  
  856. class wxTextAttrPtr:
  857.     
  858.     def __init__(self, this):
  859.         self.this = this
  860.         self.thisown = 0
  861.  
  862.     
  863.     def __del__(self, delfunc = controlsc.delete_wxTextAttr):
  864.         if self.thisown == 1:
  865.             
  866.             try:
  867.                 delfunc(self)
  868.             except:
  869.                 pass
  870.  
  871.         
  872.  
  873.     
  874.     def SetTextColour(self, *_args, **_kwargs):
  875.         val = apply(controlsc.wxTextAttr_SetTextColour, (self,) + _args, _kwargs)
  876.         return val
  877.  
  878.     
  879.     def SetBackgroundColour(self, *_args, **_kwargs):
  880.         val = apply(controlsc.wxTextAttr_SetBackgroundColour, (self,) + _args, _kwargs)
  881.         return val
  882.  
  883.     
  884.     def SetFont(self, *_args, **_kwargs):
  885.         val = apply(controlsc.wxTextAttr_SetFont, (self,) + _args, _kwargs)
  886.         return val
  887.  
  888.     
  889.     def HasTextColour(self, *_args, **_kwargs):
  890.         val = apply(controlsc.wxTextAttr_HasTextColour, (self,) + _args, _kwargs)
  891.         return val
  892.  
  893.     
  894.     def HasBackgroundColour(self, *_args, **_kwargs):
  895.         val = apply(controlsc.wxTextAttr_HasBackgroundColour, (self,) + _args, _kwargs)
  896.         return val
  897.  
  898.     
  899.     def HasFont(self, *_args, **_kwargs):
  900.         val = apply(controlsc.wxTextAttr_HasFont, (self,) + _args, _kwargs)
  901.         return val
  902.  
  903.     
  904.     def GetTextColour(self, *_args, **_kwargs):
  905.         val = apply(controlsc.wxTextAttr_GetTextColour, (self,) + _args, _kwargs)
  906.         if val:
  907.             val = wxColourPtr(val)
  908.             val.thisown = 1
  909.         
  910.         return val
  911.  
  912.     
  913.     def GetBackgroundColour(self, *_args, **_kwargs):
  914.         val = apply(controlsc.wxTextAttr_GetBackgroundColour, (self,) + _args, _kwargs)
  915.         if val:
  916.             val = wxColourPtr(val)
  917.             val.thisown = 1
  918.         
  919.         return val
  920.  
  921.     
  922.     def GetFont(self, *_args, **_kwargs):
  923.         val = apply(controlsc.wxTextAttr_GetFont, (self,) + _args, _kwargs)
  924.         if val:
  925.             val = wxFontPtr(val)
  926.             val.thisown = 1
  927.         
  928.         return val
  929.  
  930.     
  931.     def IsDefault(self, *_args, **_kwargs):
  932.         val = apply(controlsc.wxTextAttr_IsDefault, (self,) + _args, _kwargs)
  933.         return val
  934.  
  935.     
  936.     def __repr__(self):
  937.         return '<C wxTextAttr instance at %s>' % (self.this,)
  938.  
  939.  
  940.  
  941. class wxTextAttr(wxTextAttrPtr):
  942.     
  943.     def __init__(self, *_args, **_kwargs):
  944.         self.this = apply(controlsc.new_wxTextAttr, _args, _kwargs)
  945.         self.thisown = 1
  946.  
  947.  
  948.  
  949. class wxTextCtrlPtr(wxControlPtr):
  950.     
  951.     def __init__(self, this):
  952.         self.this = this
  953.         self.thisown = 0
  954.  
  955.     
  956.     def Create(self, *_args, **_kwargs):
  957.         val = apply(controlsc.wxTextCtrl_Create, (self,) + _args, _kwargs)
  958.         return val
  959.  
  960.     
  961.     def GetValue(self, *_args, **_kwargs):
  962.         val = apply(controlsc.wxTextCtrl_GetValue, (self,) + _args, _kwargs)
  963.         return val
  964.  
  965.     
  966.     def SetValue(self, *_args, **_kwargs):
  967.         val = apply(controlsc.wxTextCtrl_SetValue, (self,) + _args, _kwargs)
  968.         return val
  969.  
  970.     
  971.     def GetRange(self, *_args, **_kwargs):
  972.         val = apply(controlsc.wxTextCtrl_GetRange, (self,) + _args, _kwargs)
  973.         return val
  974.  
  975.     
  976.     def GetLineLength(self, *_args, **_kwargs):
  977.         val = apply(controlsc.wxTextCtrl_GetLineLength, (self,) + _args, _kwargs)
  978.         return val
  979.  
  980.     
  981.     def GetLineText(self, *_args, **_kwargs):
  982.         val = apply(controlsc.wxTextCtrl_GetLineText, (self,) + _args, _kwargs)
  983.         return val
  984.  
  985.     
  986.     def GetNumberOfLines(self, *_args, **_kwargs):
  987.         val = apply(controlsc.wxTextCtrl_GetNumberOfLines, (self,) + _args, _kwargs)
  988.         return val
  989.  
  990.     
  991.     def IsModified(self, *_args, **_kwargs):
  992.         val = apply(controlsc.wxTextCtrl_IsModified, (self,) + _args, _kwargs)
  993.         return val
  994.  
  995.     
  996.     def IsEditable(self, *_args, **_kwargs):
  997.         val = apply(controlsc.wxTextCtrl_IsEditable, (self,) + _args, _kwargs)
  998.         return val
  999.  
  1000.     
  1001.     def GetSelection(self, *_args, **_kwargs):
  1002.         val = apply(controlsc.wxTextCtrl_GetSelection, (self,) + _args, _kwargs)
  1003.         return val
  1004.  
  1005.     
  1006.     def GetStringSelection(self, *_args, **_kwargs):
  1007.         val = apply(controlsc.wxTextCtrl_GetStringSelection, (self,) + _args, _kwargs)
  1008.         return val
  1009.  
  1010.     
  1011.     def Clear(self, *_args, **_kwargs):
  1012.         val = apply(controlsc.wxTextCtrl_Clear, (self,) + _args, _kwargs)
  1013.         return val
  1014.  
  1015.     
  1016.     def Replace(self, *_args, **_kwargs):
  1017.         val = apply(controlsc.wxTextCtrl_Replace, (self,) + _args, _kwargs)
  1018.         return val
  1019.  
  1020.     
  1021.     def Remove(self, *_args, **_kwargs):
  1022.         val = apply(controlsc.wxTextCtrl_Remove, (self,) + _args, _kwargs)
  1023.         return val
  1024.  
  1025.     
  1026.     def LoadFile(self, *_args, **_kwargs):
  1027.         val = apply(controlsc.wxTextCtrl_LoadFile, (self,) + _args, _kwargs)
  1028.         return val
  1029.  
  1030.     
  1031.     def SaveFile(self, *_args, **_kwargs):
  1032.         val = apply(controlsc.wxTextCtrl_SaveFile, (self,) + _args, _kwargs)
  1033.         return val
  1034.  
  1035.     
  1036.     def DiscardEdits(self, *_args, **_kwargs):
  1037.         val = apply(controlsc.wxTextCtrl_DiscardEdits, (self,) + _args, _kwargs)
  1038.         return val
  1039.  
  1040.     
  1041.     def SetMaxLength(self, *_args, **_kwargs):
  1042.         val = apply(controlsc.wxTextCtrl_SetMaxLength, (self,) + _args, _kwargs)
  1043.         return val
  1044.  
  1045.     
  1046.     def WriteText(self, *_args, **_kwargs):
  1047.         val = apply(controlsc.wxTextCtrl_WriteText, (self,) + _args, _kwargs)
  1048.         return val
  1049.  
  1050.     
  1051.     def AppendText(self, *_args, **_kwargs):
  1052.         val = apply(controlsc.wxTextCtrl_AppendText, (self,) + _args, _kwargs)
  1053.         return val
  1054.  
  1055.     
  1056.     def EmulateKeyPress(self, *_args, **_kwargs):
  1057.         val = apply(controlsc.wxTextCtrl_EmulateKeyPress, (self,) + _args, _kwargs)
  1058.         return val
  1059.  
  1060.     
  1061.     def SetStyle(self, *_args, **_kwargs):
  1062.         val = apply(controlsc.wxTextCtrl_SetStyle, (self,) + _args, _kwargs)
  1063.         return val
  1064.  
  1065.     
  1066.     def SetDefaultStyle(self, *_args, **_kwargs):
  1067.         val = apply(controlsc.wxTextCtrl_SetDefaultStyle, (self,) + _args, _kwargs)
  1068.         return val
  1069.  
  1070.     
  1071.     def GetDefaultStyle(self, *_args, **_kwargs):
  1072.         val = apply(controlsc.wxTextCtrl_GetDefaultStyle, (self,) + _args, _kwargs)
  1073.         if val:
  1074.             val = wxTextAttrPtr(val)
  1075.         
  1076.         return val
  1077.  
  1078.     
  1079.     def XYToPosition(self, *_args, **_kwargs):
  1080.         val = apply(controlsc.wxTextCtrl_XYToPosition, (self,) + _args, _kwargs)
  1081.         return val
  1082.  
  1083.     
  1084.     def PositionToXY(self, *_args, **_kwargs):
  1085.         val = apply(controlsc.wxTextCtrl_PositionToXY, (self,) + _args, _kwargs)
  1086.         return val
  1087.  
  1088.     
  1089.     def ShowPosition(self, *_args, **_kwargs):
  1090.         val = apply(controlsc.wxTextCtrl_ShowPosition, (self,) + _args, _kwargs)
  1091.         return val
  1092.  
  1093.     
  1094.     def Copy(self, *_args, **_kwargs):
  1095.         val = apply(controlsc.wxTextCtrl_Copy, (self,) + _args, _kwargs)
  1096.         return val
  1097.  
  1098.     
  1099.     def Cut(self, *_args, **_kwargs):
  1100.         val = apply(controlsc.wxTextCtrl_Cut, (self,) + _args, _kwargs)
  1101.         return val
  1102.  
  1103.     
  1104.     def Paste(self, *_args, **_kwargs):
  1105.         val = apply(controlsc.wxTextCtrl_Paste, (self,) + _args, _kwargs)
  1106.         return val
  1107.  
  1108.     
  1109.     def CanCopy(self, *_args, **_kwargs):
  1110.         val = apply(controlsc.wxTextCtrl_CanCopy, (self,) + _args, _kwargs)
  1111.         return val
  1112.  
  1113.     
  1114.     def CanCut(self, *_args, **_kwargs):
  1115.         val = apply(controlsc.wxTextCtrl_CanCut, (self,) + _args, _kwargs)
  1116.         return val
  1117.  
  1118.     
  1119.     def CanPaste(self, *_args, **_kwargs):
  1120.         val = apply(controlsc.wxTextCtrl_CanPaste, (self,) + _args, _kwargs)
  1121.         return val
  1122.  
  1123.     
  1124.     def Undo(self, *_args, **_kwargs):
  1125.         val = apply(controlsc.wxTextCtrl_Undo, (self,) + _args, _kwargs)
  1126.         return val
  1127.  
  1128.     
  1129.     def Redo(self, *_args, **_kwargs):
  1130.         val = apply(controlsc.wxTextCtrl_Redo, (self,) + _args, _kwargs)
  1131.         return val
  1132.  
  1133.     
  1134.     def CanUndo(self, *_args, **_kwargs):
  1135.         val = apply(controlsc.wxTextCtrl_CanUndo, (self,) + _args, _kwargs)
  1136.         return val
  1137.  
  1138.     
  1139.     def CanRedo(self, *_args, **_kwargs):
  1140.         val = apply(controlsc.wxTextCtrl_CanRedo, (self,) + _args, _kwargs)
  1141.         return val
  1142.  
  1143.     
  1144.     def SetInsertionPoint(self, *_args, **_kwargs):
  1145.         val = apply(controlsc.wxTextCtrl_SetInsertionPoint, (self,) + _args, _kwargs)
  1146.         return val
  1147.  
  1148.     
  1149.     def SetInsertionPointEnd(self, *_args, **_kwargs):
  1150.         val = apply(controlsc.wxTextCtrl_SetInsertionPointEnd, (self,) + _args, _kwargs)
  1151.         return val
  1152.  
  1153.     
  1154.     def GetInsertionPoint(self, *_args, **_kwargs):
  1155.         val = apply(controlsc.wxTextCtrl_GetInsertionPoint, (self,) + _args, _kwargs)
  1156.         return val
  1157.  
  1158.     
  1159.     def GetLastPosition(self, *_args, **_kwargs):
  1160.         val = apply(controlsc.wxTextCtrl_GetLastPosition, (self,) + _args, _kwargs)
  1161.         return val
  1162.  
  1163.     
  1164.     def SetSelection(self, *_args, **_kwargs):
  1165.         val = apply(controlsc.wxTextCtrl_SetSelection, (self,) + _args, _kwargs)
  1166.         return val
  1167.  
  1168.     
  1169.     def SelectAll(self, *_args, **_kwargs):
  1170.         val = apply(controlsc.wxTextCtrl_SelectAll, (self,) + _args, _kwargs)
  1171.         return val
  1172.  
  1173.     
  1174.     def SetEditable(self, *_args, **_kwargs):
  1175.         val = apply(controlsc.wxTextCtrl_SetEditable, (self,) + _args, _kwargs)
  1176.         return val
  1177.  
  1178.     
  1179.     def IsSingleLine(self, *_args, **_kwargs):
  1180.         val = apply(controlsc.wxTextCtrl_IsSingleLine, (self,) + _args, _kwargs)
  1181.         return val
  1182.  
  1183.     
  1184.     def IsMultiLine(self, *_args, **_kwargs):
  1185.         val = apply(controlsc.wxTextCtrl_IsMultiLine, (self,) + _args, _kwargs)
  1186.         return val
  1187.  
  1188.     
  1189.     def write(self, *_args, **_kwargs):
  1190.         val = apply(controlsc.wxTextCtrl_write, (self,) + _args, _kwargs)
  1191.         return val
  1192.  
  1193.     
  1194.     def GetString(self, *_args, **_kwargs):
  1195.         val = apply(controlsc.wxTextCtrl_GetString, (self,) + _args, _kwargs)
  1196.         return val
  1197.  
  1198.     
  1199.     def __repr__(self):
  1200.         return '<C wxTextCtrl instance at %s>' % (self.this,)
  1201.  
  1202.  
  1203.  
  1204. class wxTextCtrl(wxTextCtrlPtr):
  1205.     
  1206.     def __init__(self, *_args, **_kwargs):
  1207.         self.this = apply(controlsc.new_wxTextCtrl, _args, _kwargs)
  1208.         self.thisown = 1
  1209.         self._setOORInfo(self)
  1210.  
  1211.  
  1212.  
  1213. def wxPreTextCtrl(*_args, **_kwargs):
  1214.     val = wxTextCtrlPtr(apply(controlsc.new_wxPreTextCtrl, _args, _kwargs))
  1215.     val.thisown = 1
  1216.     val._setOORInfo(val)
  1217.     return val
  1218.  
  1219.  
  1220. class wxScrollBarPtr(wxControlPtr):
  1221.     
  1222.     def __init__(self, this):
  1223.         self.this = this
  1224.         self.thisown = 0
  1225.  
  1226.     
  1227.     def Create(self, *_args, **_kwargs):
  1228.         val = apply(controlsc.wxScrollBar_Create, (self,) + _args, _kwargs)
  1229.         return val
  1230.  
  1231.     
  1232.     def GetRange(self, *_args, **_kwargs):
  1233.         val = apply(controlsc.wxScrollBar_GetRange, (self,) + _args, _kwargs)
  1234.         return val
  1235.  
  1236.     
  1237.     def GetPageSize(self, *_args, **_kwargs):
  1238.         val = apply(controlsc.wxScrollBar_GetPageSize, (self,) + _args, _kwargs)
  1239.         return val
  1240.  
  1241.     
  1242.     def GetThumbPosition(self, *_args, **_kwargs):
  1243.         val = apply(controlsc.wxScrollBar_GetThumbPosition, (self,) + _args, _kwargs)
  1244.         return val
  1245.  
  1246.     
  1247.     def GetThumbSize(self, *_args, **_kwargs):
  1248.         val = apply(controlsc.wxScrollBar_GetThumbSize, (self,) + _args, _kwargs)
  1249.         return val
  1250.  
  1251.     
  1252.     def GetThumbLength(self, *_args, **_kwargs):
  1253.         val = apply(controlsc.wxScrollBar_GetThumbLength, (self,) + _args, _kwargs)
  1254.         return val
  1255.  
  1256.     
  1257.     def IsVertical(self, *_args, **_kwargs):
  1258.         val = apply(controlsc.wxScrollBar_IsVertical, (self,) + _args, _kwargs)
  1259.         return val
  1260.  
  1261.     
  1262.     def SetThumbPosition(self, *_args, **_kwargs):
  1263.         val = apply(controlsc.wxScrollBar_SetThumbPosition, (self,) + _args, _kwargs)
  1264.         return val
  1265.  
  1266.     
  1267.     def SetScrollbar(self, *_args, **_kwargs):
  1268.         val = apply(controlsc.wxScrollBar_SetScrollbar, (self,) + _args, _kwargs)
  1269.         return val
  1270.  
  1271.     
  1272.     def __repr__(self):
  1273.         return '<C wxScrollBar instance at %s>' % (self.this,)
  1274.  
  1275.  
  1276.  
  1277. class wxScrollBar(wxScrollBarPtr):
  1278.     
  1279.     def __init__(self, *_args, **_kwargs):
  1280.         self.this = apply(controlsc.new_wxScrollBar, _args, _kwargs)
  1281.         self.thisown = 1
  1282.         self._setOORInfo(self)
  1283.  
  1284.  
  1285.  
  1286. def wxPreScrollBar(*_args, **_kwargs):
  1287.     val = wxScrollBarPtr(apply(controlsc.new_wxPreScrollBar, _args, _kwargs))
  1288.     val.thisown = 1
  1289.     val._setOORInfo(val)
  1290.     return val
  1291.  
  1292.  
  1293. class wxSpinButtonPtr(wxControlPtr):
  1294.     
  1295.     def __init__(self, this):
  1296.         self.this = this
  1297.         self.thisown = 0
  1298.  
  1299.     
  1300.     def Create(self, *_args, **_kwargs):
  1301.         val = apply(controlsc.wxSpinButton_Create, (self,) + _args, _kwargs)
  1302.         return val
  1303.  
  1304.     
  1305.     def GetMax(self, *_args, **_kwargs):
  1306.         val = apply(controlsc.wxSpinButton_GetMax, (self,) + _args, _kwargs)
  1307.         return val
  1308.  
  1309.     
  1310.     def GetMin(self, *_args, **_kwargs):
  1311.         val = apply(controlsc.wxSpinButton_GetMin, (self,) + _args, _kwargs)
  1312.         return val
  1313.  
  1314.     
  1315.     def GetValue(self, *_args, **_kwargs):
  1316.         val = apply(controlsc.wxSpinButton_GetValue, (self,) + _args, _kwargs)
  1317.         return val
  1318.  
  1319.     
  1320.     def SetRange(self, *_args, **_kwargs):
  1321.         val = apply(controlsc.wxSpinButton_SetRange, (self,) + _args, _kwargs)
  1322.         return val
  1323.  
  1324.     
  1325.     def SetValue(self, *_args, **_kwargs):
  1326.         val = apply(controlsc.wxSpinButton_SetValue, (self,) + _args, _kwargs)
  1327.         return val
  1328.  
  1329.     
  1330.     def __repr__(self):
  1331.         return '<C wxSpinButton instance at %s>' % (self.this,)
  1332.  
  1333.  
  1334.  
  1335. class wxSpinButton(wxSpinButtonPtr):
  1336.     
  1337.     def __init__(self, *_args, **_kwargs):
  1338.         self.this = apply(controlsc.new_wxSpinButton, _args, _kwargs)
  1339.         self.thisown = 1
  1340.         self._setOORInfo(self)
  1341.  
  1342.  
  1343.  
  1344. def wxPreSpinButton(*_args, **_kwargs):
  1345.     val = wxSpinButtonPtr(apply(controlsc.new_wxPreSpinButton, _args, _kwargs))
  1346.     val.thisown = 1
  1347.     val._setOORInfo(val)
  1348.     return val
  1349.  
  1350.  
  1351. class wxStaticBitmapPtr(wxControlPtr):
  1352.     
  1353.     def __init__(self, this):
  1354.         self.this = this
  1355.         self.thisown = 0
  1356.  
  1357.     
  1358.     def Create(self, *_args, **_kwargs):
  1359.         val = apply(controlsc.wxStaticBitmap_Create, (self,) + _args, _kwargs)
  1360.         return val
  1361.  
  1362.     
  1363.     def GetBitmap(self, *_args, **_kwargs):
  1364.         val = apply(controlsc.wxStaticBitmap_GetBitmap, (self,) + _args, _kwargs)
  1365.         if val:
  1366.             val = wxBitmapPtr(val)
  1367.             val.thisown = 1
  1368.         
  1369.         return val
  1370.  
  1371.     
  1372.     def SetBitmap(self, *_args, **_kwargs):
  1373.         val = apply(controlsc.wxStaticBitmap_SetBitmap, (self,) + _args, _kwargs)
  1374.         return val
  1375.  
  1376.     
  1377.     def SetIcon(self, *_args, **_kwargs):
  1378.         val = apply(controlsc.wxStaticBitmap_SetIcon, (self,) + _args, _kwargs)
  1379.         return val
  1380.  
  1381.     
  1382.     def __repr__(self):
  1383.         return '<C wxStaticBitmap instance at %s>' % (self.this,)
  1384.  
  1385.  
  1386.  
  1387. class wxStaticBitmap(wxStaticBitmapPtr):
  1388.     
  1389.     def __init__(self, *_args, **_kwargs):
  1390.         self.this = apply(controlsc.new_wxStaticBitmap, _args, _kwargs)
  1391.         self.thisown = 1
  1392.         self._setOORInfo(self)
  1393.  
  1394.  
  1395.  
  1396. def wxPreStaticBitmap(*_args, **_kwargs):
  1397.     val = wxStaticBitmapPtr(apply(controlsc.new_wxPreStaticBitmap, _args, _kwargs))
  1398.     val.thisown = 1
  1399.     val._setOORInfo(val)
  1400.     return val
  1401.  
  1402.  
  1403. class wxRadioBoxPtr(wxControlPtr):
  1404.     
  1405.     def __init__(self, this):
  1406.         self.this = this
  1407.         self.thisown = 0
  1408.  
  1409.     
  1410.     def Create(self, *_args, **_kwargs):
  1411.         val = apply(controlsc.wxRadioBox_Create, (self,) + _args, _kwargs)
  1412.         return val
  1413.  
  1414.     
  1415.     def Enable(self, *_args, **_kwargs):
  1416.         val = apply(controlsc.wxRadioBox_Enable, (self,) + _args, _kwargs)
  1417.         return val
  1418.  
  1419.     
  1420.     def EnableItem(self, *_args, **_kwargs):
  1421.         val = apply(controlsc.wxRadioBox_EnableItem, (self,) + _args, _kwargs)
  1422.         return val
  1423.  
  1424.     
  1425.     def FindString(self, *_args, **_kwargs):
  1426.         val = apply(controlsc.wxRadioBox_FindString, (self,) + _args, _kwargs)
  1427.         return val
  1428.  
  1429.     
  1430.     def GetString(self, *_args, **_kwargs):
  1431.         val = apply(controlsc.wxRadioBox_GetString, (self,) + _args, _kwargs)
  1432.         return val
  1433.  
  1434.     
  1435.     def SetString(self, *_args, **_kwargs):
  1436.         val = apply(controlsc.wxRadioBox_SetString, (self,) + _args, _kwargs)
  1437.         return val
  1438.  
  1439.     
  1440.     def GetColumnCount(self, *_args, **_kwargs):
  1441.         val = apply(controlsc.wxRadioBox_GetColumnCount, (self,) + _args, _kwargs)
  1442.         return val
  1443.  
  1444.     
  1445.     def GetRowCount(self, *_args, **_kwargs):
  1446.         val = apply(controlsc.wxRadioBox_GetRowCount, (self,) + _args, _kwargs)
  1447.         return val
  1448.  
  1449.     
  1450.     def GetSelection(self, *_args, **_kwargs):
  1451.         val = apply(controlsc.wxRadioBox_GetSelection, (self,) + _args, _kwargs)
  1452.         return val
  1453.  
  1454.     
  1455.     def GetStringSelection(self, *_args, **_kwargs):
  1456.         val = apply(controlsc.wxRadioBox_GetStringSelection, (self,) + _args, _kwargs)
  1457.         return val
  1458.  
  1459.     
  1460.     def GetCount(self, *_args, **_kwargs):
  1461.         val = apply(controlsc.wxRadioBox_GetCount, (self,) + _args, _kwargs)
  1462.         return val
  1463.  
  1464.     
  1465.     def SetSelection(self, *_args, **_kwargs):
  1466.         val = apply(controlsc.wxRadioBox_SetSelection, (self,) + _args, _kwargs)
  1467.         return val
  1468.  
  1469.     
  1470.     def SetStringSelection(self, *_args, **_kwargs):
  1471.         val = apply(controlsc.wxRadioBox_SetStringSelection, (self,) + _args, _kwargs)
  1472.         return val
  1473.  
  1474.     
  1475.     def Show(self, *_args, **_kwargs):
  1476.         val = apply(controlsc.wxRadioBox_Show, (self,) + _args, _kwargs)
  1477.         return val
  1478.  
  1479.     
  1480.     def ShowItem(self, *_args, **_kwargs):
  1481.         val = apply(controlsc.wxRadioBox_ShowItem, (self,) + _args, _kwargs)
  1482.         return val
  1483.  
  1484.     
  1485.     def __repr__(self):
  1486.         return '<C wxRadioBox instance at %s>' % (self.this,)
  1487.  
  1488.     GetItemLabel = GetString
  1489.     SetItemLabel = SetString
  1490.     Number = GetCount
  1491.  
  1492.  
  1493. class wxRadioBox(wxRadioBoxPtr):
  1494.     
  1495.     def __init__(self, *_args, **_kwargs):
  1496.         self.this = apply(controlsc.new_wxRadioBox, _args, _kwargs)
  1497.         self.thisown = 1
  1498.         self._setOORInfo(self)
  1499.  
  1500.  
  1501.  
  1502. def wxPreRadioBox(*_args, **_kwargs):
  1503.     val = wxRadioBoxPtr(apply(controlsc.new_wxPreRadioBox, _args, _kwargs))
  1504.     val.thisown = 1
  1505.     val._setOORInfo(val)
  1506.     return val
  1507.  
  1508.  
  1509. class wxRadioButtonPtr(wxControlPtr):
  1510.     
  1511.     def __init__(self, this):
  1512.         self.this = this
  1513.         self.thisown = 0
  1514.  
  1515.     
  1516.     def Create(self, *_args, **_kwargs):
  1517.         val = apply(controlsc.wxRadioButton_Create, (self,) + _args, _kwargs)
  1518.         return val
  1519.  
  1520.     
  1521.     def GetValue(self, *_args, **_kwargs):
  1522.         val = apply(controlsc.wxRadioButton_GetValue, (self,) + _args, _kwargs)
  1523.         return val
  1524.  
  1525.     
  1526.     def SetValue(self, *_args, **_kwargs):
  1527.         val = apply(controlsc.wxRadioButton_SetValue, (self,) + _args, _kwargs)
  1528.         return val
  1529.  
  1530.     
  1531.     def __repr__(self):
  1532.         return '<C wxRadioButton instance at %s>' % (self.this,)
  1533.  
  1534.  
  1535.  
  1536. class wxRadioButton(wxRadioButtonPtr):
  1537.     
  1538.     def __init__(self, *_args, **_kwargs):
  1539.         self.this = apply(controlsc.new_wxRadioButton, _args, _kwargs)
  1540.         self.thisown = 1
  1541.         self._setOORInfo(self)
  1542.  
  1543.  
  1544.  
  1545. def wxPreRadioButton(*_args, **_kwargs):
  1546.     val = wxRadioButtonPtr(apply(controlsc.new_wxPreRadioButton, _args, _kwargs))
  1547.     val.thisown = 1
  1548.     val._setOORInfo(val)
  1549.     return val
  1550.  
  1551.  
  1552. class wxSliderPtr(wxControlPtr):
  1553.     
  1554.     def __init__(self, this):
  1555.         self.this = this
  1556.         self.thisown = 0
  1557.  
  1558.     
  1559.     def Create(self, *_args, **_kwargs):
  1560.         val = apply(controlsc.wxSlider_Create, (self,) + _args, _kwargs)
  1561.         return val
  1562.  
  1563.     
  1564.     def ClearSel(self, *_args, **_kwargs):
  1565.         val = apply(controlsc.wxSlider_ClearSel, (self,) + _args, _kwargs)
  1566.         return val
  1567.  
  1568.     
  1569.     def ClearTicks(self, *_args, **_kwargs):
  1570.         val = apply(controlsc.wxSlider_ClearTicks, (self,) + _args, _kwargs)
  1571.         return val
  1572.  
  1573.     
  1574.     def GetLineSize(self, *_args, **_kwargs):
  1575.         val = apply(controlsc.wxSlider_GetLineSize, (self,) + _args, _kwargs)
  1576.         return val
  1577.  
  1578.     
  1579.     def GetMax(self, *_args, **_kwargs):
  1580.         val = apply(controlsc.wxSlider_GetMax, (self,) + _args, _kwargs)
  1581.         return val
  1582.  
  1583.     
  1584.     def GetMin(self, *_args, **_kwargs):
  1585.         val = apply(controlsc.wxSlider_GetMin, (self,) + _args, _kwargs)
  1586.         return val
  1587.  
  1588.     
  1589.     def GetPageSize(self, *_args, **_kwargs):
  1590.         val = apply(controlsc.wxSlider_GetPageSize, (self,) + _args, _kwargs)
  1591.         return val
  1592.  
  1593.     
  1594.     def GetSelEnd(self, *_args, **_kwargs):
  1595.         val = apply(controlsc.wxSlider_GetSelEnd, (self,) + _args, _kwargs)
  1596.         return val
  1597.  
  1598.     
  1599.     def GetSelStart(self, *_args, **_kwargs):
  1600.         val = apply(controlsc.wxSlider_GetSelStart, (self,) + _args, _kwargs)
  1601.         return val
  1602.  
  1603.     
  1604.     def GetThumbLength(self, *_args, **_kwargs):
  1605.         val = apply(controlsc.wxSlider_GetThumbLength, (self,) + _args, _kwargs)
  1606.         return val
  1607.  
  1608.     
  1609.     def GetTickFreq(self, *_args, **_kwargs):
  1610.         val = apply(controlsc.wxSlider_GetTickFreq, (self,) + _args, _kwargs)
  1611.         return val
  1612.  
  1613.     
  1614.     def GetValue(self, *_args, **_kwargs):
  1615.         val = apply(controlsc.wxSlider_GetValue, (self,) + _args, _kwargs)
  1616.         return val
  1617.  
  1618.     
  1619.     def SetRange(self, *_args, **_kwargs):
  1620.         val = apply(controlsc.wxSlider_SetRange, (self,) + _args, _kwargs)
  1621.         return val
  1622.  
  1623.     
  1624.     def SetTickFreq(self, *_args, **_kwargs):
  1625.         val = apply(controlsc.wxSlider_SetTickFreq, (self,) + _args, _kwargs)
  1626.         return val
  1627.  
  1628.     
  1629.     def SetLineSize(self, *_args, **_kwargs):
  1630.         val = apply(controlsc.wxSlider_SetLineSize, (self,) + _args, _kwargs)
  1631.         return val
  1632.  
  1633.     
  1634.     def SetPageSize(self, *_args, **_kwargs):
  1635.         val = apply(controlsc.wxSlider_SetPageSize, (self,) + _args, _kwargs)
  1636.         return val
  1637.  
  1638.     
  1639.     def SetSelection(self, *_args, **_kwargs):
  1640.         val = apply(controlsc.wxSlider_SetSelection, (self,) + _args, _kwargs)
  1641.         return val
  1642.  
  1643.     
  1644.     def SetThumbLength(self, *_args, **_kwargs):
  1645.         val = apply(controlsc.wxSlider_SetThumbLength, (self,) + _args, _kwargs)
  1646.         return val
  1647.  
  1648.     
  1649.     def SetTick(self, *_args, **_kwargs):
  1650.         val = apply(controlsc.wxSlider_SetTick, (self,) + _args, _kwargs)
  1651.         return val
  1652.  
  1653.     
  1654.     def SetValue(self, *_args, **_kwargs):
  1655.         val = apply(controlsc.wxSlider_SetValue, (self,) + _args, _kwargs)
  1656.         return val
  1657.  
  1658.     
  1659.     def __repr__(self):
  1660.         return '<C wxSlider instance at %s>' % (self.this,)
  1661.  
  1662.  
  1663.  
  1664. class wxSlider(wxSliderPtr):
  1665.     
  1666.     def __init__(self, *_args, **_kwargs):
  1667.         self.this = apply(controlsc.new_wxSlider, _args, _kwargs)
  1668.         self.thisown = 1
  1669.         self._setOORInfo(self)
  1670.  
  1671.  
  1672.  
  1673. def wxPreSlider(*_args, **_kwargs):
  1674.     val = wxSliderPtr(apply(controlsc.new_wxPreSlider, _args, _kwargs))
  1675.     val.thisown = 1
  1676.     val._setOORInfo(val)
  1677.     return val
  1678.  
  1679.  
  1680. class wxSpinCtrlPtr(wxSpinButtonPtr):
  1681.     
  1682.     def __init__(self, this):
  1683.         self.this = this
  1684.         self.thisown = 0
  1685.  
  1686.     
  1687.     def Create(self, *_args, **_kwargs):
  1688.         val = apply(controlsc.wxSpinCtrl_Create, (self,) + _args, _kwargs)
  1689.         return val
  1690.  
  1691.     
  1692.     def GetMax(self, *_args, **_kwargs):
  1693.         val = apply(controlsc.wxSpinCtrl_GetMax, (self,) + _args, _kwargs)
  1694.         return val
  1695.  
  1696.     
  1697.     def GetMin(self, *_args, **_kwargs):
  1698.         val = apply(controlsc.wxSpinCtrl_GetMin, (self,) + _args, _kwargs)
  1699.         return val
  1700.  
  1701.     
  1702.     def GetValue(self, *_args, **_kwargs):
  1703.         val = apply(controlsc.wxSpinCtrl_GetValue, (self,) + _args, _kwargs)
  1704.         return val
  1705.  
  1706.     
  1707.     def SetRange(self, *_args, **_kwargs):
  1708.         val = apply(controlsc.wxSpinCtrl_SetRange, (self,) + _args, _kwargs)
  1709.         return val
  1710.  
  1711.     
  1712.     def SetValue(self, *_args, **_kwargs):
  1713.         val = apply(controlsc.wxSpinCtrl_SetValue, (self,) + _args, _kwargs)
  1714.         return val
  1715.  
  1716.     
  1717.     def __repr__(self):
  1718.         return '<C wxSpinCtrl instance at %s>' % (self.this,)
  1719.  
  1720.  
  1721.  
  1722. class wxSpinCtrl(wxSpinCtrlPtr):
  1723.     
  1724.     def __init__(self, *_args, **_kwargs):
  1725.         self.this = apply(controlsc.new_wxSpinCtrl, _args, _kwargs)
  1726.         self.thisown = 1
  1727.         self._setOORInfo(self)
  1728.  
  1729.  
  1730.  
  1731. def wxPreSpinCtrl(*_args, **_kwargs):
  1732.     val = wxSpinCtrlPtr(apply(controlsc.new_wxPreSpinCtrl, _args, _kwargs))
  1733.     val.thisown = 1
  1734.     val._setOORInfo(val)
  1735.     return val
  1736.  
  1737.  
  1738. class wxToggleButtonPtr(wxControlPtr):
  1739.     
  1740.     def __init__(self, this):
  1741.         self.this = this
  1742.         self.thisown = 0
  1743.  
  1744.     
  1745.     def Create(self, *_args, **_kwargs):
  1746.         val = apply(controlsc.wxToggleButton_Create, (self,) + _args, _kwargs)
  1747.         return val
  1748.  
  1749.     
  1750.     def SetValue(self, *_args, **_kwargs):
  1751.         val = apply(controlsc.wxToggleButton_SetValue, (self,) + _args, _kwargs)
  1752.         return val
  1753.  
  1754.     
  1755.     def GetValue(self, *_args, **_kwargs):
  1756.         val = apply(controlsc.wxToggleButton_GetValue, (self,) + _args, _kwargs)
  1757.         return val
  1758.  
  1759.     
  1760.     def SetLabel(self, *_args, **_kwargs):
  1761.         val = apply(controlsc.wxToggleButton_SetLabel, (self,) + _args, _kwargs)
  1762.         return val
  1763.  
  1764.     
  1765.     def __repr__(self):
  1766.         return '<C wxToggleButton instance at %s>' % (self.this,)
  1767.  
  1768.  
  1769.  
  1770. class wxToggleButton(wxToggleButtonPtr):
  1771.     
  1772.     def __init__(self, *_args, **_kwargs):
  1773.         self.this = apply(controlsc.new_wxToggleButton, _args, _kwargs)
  1774.         self.thisown = 1
  1775.         self._setOORInfo(self)
  1776.  
  1777.  
  1778.  
  1779. def wxPreToggleButton(*_args, **_kwargs):
  1780.     val = wxToggleButtonPtr(apply(controlsc.new_wxPreToggleButton, _args, _kwargs))
  1781.     val.thisown = 1
  1782.     val._setOORInfo(val)
  1783.     return val
  1784.  
  1785.  
  1786. def wxButton_GetDefaultSize(*_args, **_kwargs):
  1787.     val = apply(controlsc.wxButton_GetDefaultSize, _args, _kwargs)
  1788.     if val:
  1789.         val = wxSizePtr(val)
  1790.         val.thisown = 1
  1791.     
  1792.     return val
  1793.  
  1794.  
  1795. def wxTextAttr_Combine(*_args, **_kwargs):
  1796.     val = apply(controlsc.wxTextAttr_Combine, _args, _kwargs)
  1797.     if val:
  1798.         val = wxTextAttrPtr(val)
  1799.         val.thisown = 1
  1800.     
  1801.     return val
  1802.  
  1803. cvar = controlsc.cvar
  1804. wxDefaultValidator = wxValidatorPtr(controlsc.cvar.wxDefaultValidator)
  1805. wxEVT_COMMAND_TOGGLEBUTTON_CLICKED = controlsc.wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
  1806.