1 # This file was created automatically by SWIG. 
  12 from clip_dnd 
import * 
  14 from controls 
import * 
  18 wxITEM_NORMAL 
= 0 # predeclare this since wx isn't fully imported yet 
  19 class wxStatusBarPtr(wxWindowPtr
): 
  20     def __init__(self
,this
): 
  23     def Create(self
, *_args
, **_kwargs
): 
  24         val 
= apply(stattoolc
.wxStatusBar_Create
,(self
,) + _args
, _kwargs
) 
  26     def GetFieldRect(self
, *_args
, **_kwargs
): 
  27         val 
= apply(stattoolc
.wxStatusBar_GetFieldRect
,(self
,) + _args
, _kwargs
) 
  28         if val
: val 
= wxRectPtr(val
) ; val
.thisown 
= 1 
  30     def GetFieldsCount(self
, *_args
, **_kwargs
): 
  31         val 
= apply(stattoolc
.wxStatusBar_GetFieldsCount
,(self
,) + _args
, _kwargs
) 
  33     def GetStatusText(self
, *_args
, **_kwargs
): 
  34         val 
= apply(stattoolc
.wxStatusBar_GetStatusText
,(self
,) + _args
, _kwargs
) 
  36     def GetBorderX(self
, *_args
, **_kwargs
): 
  37         val 
= apply(stattoolc
.wxStatusBar_GetBorderX
,(self
,) + _args
, _kwargs
) 
  39     def GetBorderY(self
, *_args
, **_kwargs
): 
  40         val 
= apply(stattoolc
.wxStatusBar_GetBorderY
,(self
,) + _args
, _kwargs
) 
  42     def SetFieldsCount(self
, *_args
, **_kwargs
): 
  43         val 
= apply(stattoolc
.wxStatusBar_SetFieldsCount
,(self
,) + _args
, _kwargs
) 
  45     def SetStatusText(self
, *_args
, **_kwargs
): 
  46         val 
= apply(stattoolc
.wxStatusBar_SetStatusText
,(self
,) + _args
, _kwargs
) 
  48     def SetStatusWidths(self
, *_args
, **_kwargs
): 
  49         val 
= apply(stattoolc
.wxStatusBar_SetStatusWidths
,(self
,) + _args
, _kwargs
) 
  51     def PushStatusText(self
, *_args
, **_kwargs
): 
  52         val 
= apply(stattoolc
.wxStatusBar_PushStatusText
,(self
,) + _args
, _kwargs
) 
  54     def PopStatusText(self
, *_args
, **_kwargs
): 
  55         val 
= apply(stattoolc
.wxStatusBar_PopStatusText
,(self
,) + _args
, _kwargs
) 
  57     def SetMinHeight(self
, *_args
, **_kwargs
): 
  58         val 
= apply(stattoolc
.wxStatusBar_SetMinHeight
,(self
,) + _args
, _kwargs
) 
  61         return "<C wxStatusBar instance at %s>" % (self
.this
,) 
  62 class wxStatusBar(wxStatusBarPtr
): 
  63     def __init__(self
,*_args
,**_kwargs
): 
  64         self
.this 
= apply(stattoolc
.new_wxStatusBar
,_args
,_kwargs
) 
  66         self
._setOORInfo
(self
) 
  70 def wxPreStatusBar(*_args
,**_kwargs
): 
  71     val 
= wxStatusBarPtr(apply(stattoolc
.new_wxPreStatusBar
,_args
,_kwargs
)) 
  77 class wxToolBarToolBasePtr(wxObjectPtr
): 
  78     def __init__(self
,this
): 
  81     def Destroy(self
, *_args
, **_kwargs
): 
  82         val 
= apply(stattoolc
.wxToolBarToolBase_Destroy
,(self
,) + _args
, _kwargs
) 
  84     def GetId(self
, *_args
, **_kwargs
): 
  85         val 
= apply(stattoolc
.wxToolBarToolBase_GetId
,(self
,) + _args
, _kwargs
) 
  87     def GetControl(self
, *_args
, **_kwargs
): 
  88         val 
= apply(stattoolc
.wxToolBarToolBase_GetControl
,(self
,) + _args
, _kwargs
) 
  90     def GetToolBar(self
, *_args
, **_kwargs
): 
  91         val 
= apply(stattoolc
.wxToolBarToolBase_GetToolBar
,(self
,) + _args
, _kwargs
) 
  93     def IsButton(self
, *_args
, **_kwargs
): 
  94         val 
= apply(stattoolc
.wxToolBarToolBase_IsButton
,(self
,) + _args
, _kwargs
) 
  96     def IsControl(self
, *_args
, **_kwargs
): 
  97         val 
= apply(stattoolc
.wxToolBarToolBase_IsControl
,(self
,) + _args
, _kwargs
) 
  99     def IsSeparator(self
, *_args
, **_kwargs
): 
 100         val 
= apply(stattoolc
.wxToolBarToolBase_IsSeparator
,(self
,) + _args
, _kwargs
) 
 102     def GetStyle(self
, *_args
, **_kwargs
): 
 103         val 
= apply(stattoolc
.wxToolBarToolBase_GetStyle
,(self
,) + _args
, _kwargs
) 
 105     def GetKind(self
, *_args
, **_kwargs
): 
 106         val 
= apply(stattoolc
.wxToolBarToolBase_GetKind
,(self
,) + _args
, _kwargs
) 
 108     def IsEnabled(self
, *_args
, **_kwargs
): 
 109         val 
= apply(stattoolc
.wxToolBarToolBase_IsEnabled
,(self
,) + _args
, _kwargs
) 
 111     def IsToggled(self
, *_args
, **_kwargs
): 
 112         val 
= apply(stattoolc
.wxToolBarToolBase_IsToggled
,(self
,) + _args
, _kwargs
) 
 114     def CanBeToggled(self
, *_args
, **_kwargs
): 
 115         val 
= apply(stattoolc
.wxToolBarToolBase_CanBeToggled
,(self
,) + _args
, _kwargs
) 
 117     def GetNormalBitmap(self
, *_args
, **_kwargs
): 
 118         val 
= apply(stattoolc
.wxToolBarToolBase_GetNormalBitmap
,(self
,) + _args
, _kwargs
) 
 119         if val
: val 
= wxBitmapPtr(val
)  
 121     def GetDisabledBitmap(self
, *_args
, **_kwargs
): 
 122         val 
= apply(stattoolc
.wxToolBarToolBase_GetDisabledBitmap
,(self
,) + _args
, _kwargs
) 
 123         if val
: val 
= wxBitmapPtr(val
)  
 125     def GetBitmap(self
, *_args
, **_kwargs
): 
 126         val 
= apply(stattoolc
.wxToolBarToolBase_GetBitmap
,(self
,) + _args
, _kwargs
) 
 127         if val
: val 
= wxBitmapPtr(val
) ; val
.thisown 
= 1 
 129     def GetLabel(self
, *_args
, **_kwargs
): 
 130         val 
= apply(stattoolc
.wxToolBarToolBase_GetLabel
,(self
,) + _args
, _kwargs
) 
 132     def GetShortHelp(self
, *_args
, **_kwargs
): 
 133         val 
= apply(stattoolc
.wxToolBarToolBase_GetShortHelp
,(self
,) + _args
, _kwargs
) 
 135     def GetLongHelp(self
, *_args
, **_kwargs
): 
 136         val 
= apply(stattoolc
.wxToolBarToolBase_GetLongHelp
,(self
,) + _args
, _kwargs
) 
 138     def Enable(self
, *_args
, **_kwargs
): 
 139         val 
= apply(stattoolc
.wxToolBarToolBase_Enable
,(self
,) + _args
, _kwargs
) 
 141     def Toggle(self
, *_args
, **_kwargs
): 
 142         val 
= apply(stattoolc
.wxToolBarToolBase_Toggle
,(self
,) + _args
, _kwargs
) 
 144     def SetToggle(self
, *_args
, **_kwargs
): 
 145         val 
= apply(stattoolc
.wxToolBarToolBase_SetToggle
,(self
,) + _args
, _kwargs
) 
 147     def SetShortHelp(self
, *_args
, **_kwargs
): 
 148         val 
= apply(stattoolc
.wxToolBarToolBase_SetShortHelp
,(self
,) + _args
, _kwargs
) 
 150     def SetLongHelp(self
, *_args
, **_kwargs
): 
 151         val 
= apply(stattoolc
.wxToolBarToolBase_SetLongHelp
,(self
,) + _args
, _kwargs
) 
 153     def SetNormalBitmap(self
, *_args
, **_kwargs
): 
 154         val 
= apply(stattoolc
.wxToolBarToolBase_SetNormalBitmap
,(self
,) + _args
, _kwargs
) 
 156     def SetDisabledBitmap(self
, *_args
, **_kwargs
): 
 157         val 
= apply(stattoolc
.wxToolBarToolBase_SetDisabledBitmap
,(self
,) + _args
, _kwargs
) 
 159     def SetLabel(self
, *_args
, **_kwargs
): 
 160         val 
= apply(stattoolc
.wxToolBarToolBase_SetLabel
,(self
,) + _args
, _kwargs
) 
 162     def Detach(self
, *_args
, **_kwargs
): 
 163         val 
= apply(stattoolc
.wxToolBarToolBase_Detach
,(self
,) + _args
, _kwargs
) 
 165     def Attach(self
, *_args
, **_kwargs
): 
 166         val 
= apply(stattoolc
.wxToolBarToolBase_Attach
,(self
,) + _args
, _kwargs
) 
 168     def GetClientData(self
, *_args
, **_kwargs
): 
 169         val 
= apply(stattoolc
.wxToolBarToolBase_GetClientData
,(self
,) + _args
, _kwargs
) 
 171     def SetClientData(self
, *_args
, **_kwargs
): 
 172         val 
= apply(stattoolc
.wxToolBarToolBase_SetClientData
,(self
,) + _args
, _kwargs
) 
 175         return "<C wxToolBarToolBase instance at %s>" % (self
.this
,) 
 177     GetBitmap1 
= GetNormalBitmap
 
 178     GetBitmap2 
= GetDisabledBitmap
 
 179     SetBitmap1 
= SetNormalBitmap
 
 180     SetBitmap2 
= SetDisabledBitmap
 
 182 class wxToolBarToolBase(wxToolBarToolBasePtr
): 
 183     def __init__(self
,this
): 
 189 class wxToolBarBasePtr(wxControlPtr
): 
 190     def __init__(self
,this
): 
 193     def DoAddTool(self
, *_args
, **_kwargs
): 
 194         val 
= apply(stattoolc
.wxToolBarBase_DoAddTool
,(self
,) + _args
, _kwargs
) 
 196     def InsertTool(self
, *_args
, **_kwargs
): 
 197         val 
= apply(stattoolc
.wxToolBarBase_InsertTool
,(self
,) + _args
, _kwargs
) 
 199     def AddControl(self
, *_args
, **_kwargs
): 
 200         val 
= apply(stattoolc
.wxToolBarBase_AddControl
,(self
,) + _args
, _kwargs
) 
 202     def InsertControl(self
, *_args
, **_kwargs
): 
 203         val 
= apply(stattoolc
.wxToolBarBase_InsertControl
,(self
,) + _args
, _kwargs
) 
 205     def FindControl(self
, *_args
, **_kwargs
): 
 206         val 
= apply(stattoolc
.wxToolBarBase_FindControl
,(self
,) + _args
, _kwargs
) 
 208     def AddSeparator(self
, *_args
, **_kwargs
): 
 209         val 
= apply(stattoolc
.wxToolBarBase_AddSeparator
,(self
,) + _args
, _kwargs
) 
 211     def InsertSeparator(self
, *_args
, **_kwargs
): 
 212         val 
= apply(stattoolc
.wxToolBarBase_InsertSeparator
,(self
,) + _args
, _kwargs
) 
 214     def RemoveTool(self
, *_args
, **_kwargs
): 
 215         val 
= apply(stattoolc
.wxToolBarBase_RemoveTool
,(self
,) + _args
, _kwargs
) 
 217     def DeleteToolByPos(self
, *_args
, **_kwargs
): 
 218         val 
= apply(stattoolc
.wxToolBarBase_DeleteToolByPos
,(self
,) + _args
, _kwargs
) 
 220     def DeleteTool(self
, *_args
, **_kwargs
): 
 221         val 
= apply(stattoolc
.wxToolBarBase_DeleteTool
,(self
,) + _args
, _kwargs
) 
 223     def ClearTools(self
, *_args
, **_kwargs
): 
 224         val 
= apply(stattoolc
.wxToolBarBase_ClearTools
,(self
,) + _args
, _kwargs
) 
 226     def Realize(self
, *_args
, **_kwargs
): 
 227         val 
= apply(stattoolc
.wxToolBarBase_Realize
,(self
,) + _args
, _kwargs
) 
 229     def EnableTool(self
, *_args
, **_kwargs
): 
 230         val 
= apply(stattoolc
.wxToolBarBase_EnableTool
,(self
,) + _args
, _kwargs
) 
 232     def ToggleTool(self
, *_args
, **_kwargs
): 
 233         val 
= apply(stattoolc
.wxToolBarBase_ToggleTool
,(self
,) + _args
, _kwargs
) 
 235     def SetToggle(self
, *_args
, **_kwargs
): 
 236         val 
= apply(stattoolc
.wxToolBarBase_SetToggle
,(self
,) + _args
, _kwargs
) 
 238     def GetToolClientData(self
, *_args
, **_kwargs
): 
 239         val 
= apply(stattoolc
.wxToolBarBase_GetToolClientData
,(self
,) + _args
, _kwargs
) 
 241     def SetToolClientData(self
, *_args
, **_kwargs
): 
 242         val 
= apply(stattoolc
.wxToolBarBase_SetToolClientData
,(self
,) + _args
, _kwargs
) 
 244     def GetToolState(self
, *_args
, **_kwargs
): 
 245         val 
= apply(stattoolc
.wxToolBarBase_GetToolState
,(self
,) + _args
, _kwargs
) 
 247     def GetToolEnabled(self
, *_args
, **_kwargs
): 
 248         val 
= apply(stattoolc
.wxToolBarBase_GetToolEnabled
,(self
,) + _args
, _kwargs
) 
 250     def SetToolShortHelp(self
, *_args
, **_kwargs
): 
 251         val 
= apply(stattoolc
.wxToolBarBase_SetToolShortHelp
,(self
,) + _args
, _kwargs
) 
 253     def GetToolShortHelp(self
, *_args
, **_kwargs
): 
 254         val 
= apply(stattoolc
.wxToolBarBase_GetToolShortHelp
,(self
,) + _args
, _kwargs
) 
 256     def SetToolLongHelp(self
, *_args
, **_kwargs
): 
 257         val 
= apply(stattoolc
.wxToolBarBase_SetToolLongHelp
,(self
,) + _args
, _kwargs
) 
 259     def GetToolLongHelp(self
, *_args
, **_kwargs
): 
 260         val 
= apply(stattoolc
.wxToolBarBase_GetToolLongHelp
,(self
,) + _args
, _kwargs
) 
 262     def SetMarginsXY(self
, *_args
, **_kwargs
): 
 263         val 
= apply(stattoolc
.wxToolBarBase_SetMarginsXY
,(self
,) + _args
, _kwargs
) 
 265     def SetMargins(self
, *_args
, **_kwargs
): 
 266         val 
= apply(stattoolc
.wxToolBarBase_SetMargins
,(self
,) + _args
, _kwargs
) 
 268     def SetToolPacking(self
, *_args
, **_kwargs
): 
 269         val 
= apply(stattoolc
.wxToolBarBase_SetToolPacking
,(self
,) + _args
, _kwargs
) 
 271     def SetToolSeparation(self
, *_args
, **_kwargs
): 
 272         val 
= apply(stattoolc
.wxToolBarBase_SetToolSeparation
,(self
,) + _args
, _kwargs
) 
 274     def GetToolMargins(self
, *_args
, **_kwargs
): 
 275         val 
= apply(stattoolc
.wxToolBarBase_GetToolMargins
,(self
,) + _args
, _kwargs
) 
 276         if val
: val 
= wxSizePtr(val
) ; val
.thisown 
= 1 
 278     def GetMargins(self
, *_args
, **_kwargs
): 
 279         val 
= apply(stattoolc
.wxToolBarBase_GetMargins
,(self
,) + _args
, _kwargs
) 
 280         if val
: val 
= wxSizePtr(val
) ; val
.thisown 
= 1 
 282     def GetToolPacking(self
, *_args
, **_kwargs
): 
 283         val 
= apply(stattoolc
.wxToolBarBase_GetToolPacking
,(self
,) + _args
, _kwargs
) 
 285     def GetToolSeparation(self
, *_args
, **_kwargs
): 
 286         val 
= apply(stattoolc
.wxToolBarBase_GetToolSeparation
,(self
,) + _args
, _kwargs
) 
 288     def SetRows(self
, *_args
, **_kwargs
): 
 289         val 
= apply(stattoolc
.wxToolBarBase_SetRows
,(self
,) + _args
, _kwargs
) 
 291     def SetMaxRowsCols(self
, *_args
, **_kwargs
): 
 292         val 
= apply(stattoolc
.wxToolBarBase_SetMaxRowsCols
,(self
,) + _args
, _kwargs
) 
 294     def GetMaxRows(self
, *_args
, **_kwargs
): 
 295         val 
= apply(stattoolc
.wxToolBarBase_GetMaxRows
,(self
,) + _args
, _kwargs
) 
 297     def GetMaxCols(self
, *_args
, **_kwargs
): 
 298         val 
= apply(stattoolc
.wxToolBarBase_GetMaxCols
,(self
,) + _args
, _kwargs
) 
 300     def SetToolBitmapSize(self
, *_args
, **_kwargs
): 
 301         val 
= apply(stattoolc
.wxToolBarBase_SetToolBitmapSize
,(self
,) + _args
, _kwargs
) 
 303     def GetToolBitmapSize(self
, *_args
, **_kwargs
): 
 304         val 
= apply(stattoolc
.wxToolBarBase_GetToolBitmapSize
,(self
,) + _args
, _kwargs
) 
 305         if val
: val 
= wxSizePtr(val
) ; val
.thisown 
= 1 
 307     def GetToolSize(self
, *_args
, **_kwargs
): 
 308         val 
= apply(stattoolc
.wxToolBarBase_GetToolSize
,(self
,) + _args
, _kwargs
) 
 309         if val
: val 
= wxSizePtr(val
) ; val
.thisown 
= 1 
 311     def FindToolForPosition(self
, *_args
, **_kwargs
): 
 312         val 
= apply(stattoolc
.wxToolBarBase_FindToolForPosition
,(self
,) + _args
, _kwargs
) 
 314     def IsVertical(self
, *_args
, **_kwargs
): 
 315         val 
= apply(stattoolc
.wxToolBarBase_IsVertical
,(self
,) + _args
, _kwargs
) 
 318         return "<C wxToolBarBase instance at %s>" % (self
.this
,) 
 320     # These match the original Add methods for this class, kept for 
 321     # backwards compatibility with versions < 2.3.3. 
 324     def AddTool(self
, id, bitmap
, 
 325                 pushedBitmap 
= wxNullBitmap
, 
 328                 shortHelpString 
= '', 
 329                 longHelpString 
= '') : 
 330         '''Old style method to add a tool to the toolbar.''' 
 331         kind 
= wx
.wxITEM_NORMAL
 
 332         if isToggle
: kind 
= wx
.wxITEM_CHECK
 
 333         return self
.DoAddTool(id, '', bitmap
, pushedBitmap
, kind
, 
 334                               shortHelpString
, longHelpString
, clientData
) 
 336     def AddSimpleTool(self
, id, bitmap
, 
 337                       shortHelpString 
= '', 
 340         '''Old style method to add a tool to the toolbar.''' 
 341         kind 
= wx
.wxITEM_NORMAL
 
 342         if isToggle
: kind 
= wx
.wxITEM_CHECK
 
 343         return self
.DoAddTool(id, '', bitmap
, wxNullBitmap
, kind
, 
 344                               shortHelpString
, longHelpString
, None) 
 346     def InsertTool(self
, pos
, id, bitmap
, 
 347                    pushedBitmap 
= wxNullBitmap
, 
 350                    shortHelpString 
= '', 
 351                    longHelpString 
= ''): 
 352         '''Old style method to insert a tool in the toolbar.''' 
 353         kind 
= wx
.wxITEM_NORMAL
 
 354         if isToggle
: kind 
= wx
.wxITEM_CHECK
 
 355         return self
.DoInsertTool(pos
, id, '', bitmap
, pushedBitmap
, kind
, 
 356                                  shortHelpString
, longHelpString
, clientData
) 
 358     def InsertSimpleTool(self
, pos
, id, bitmap
, 
 359                          shortHelpString 
= '', 
 362         '''Old style method to insert a tool in the toolbar.''' 
 363         kind 
= wx
.wxITEM_NORMAL
 
 364         if isToggle
: kind 
= wx
.wxITEM_CHECK
 
 365         return self
.DoInsertTool(pos
, id, '', bitmap
, wxNullBitmap
, kind
, 
 366                                  shortHelpString
, longHelpString
, None) 
 369     # The following are the new toolbar Add methods starting with 
 370     # 2.3.3.  They are renamed to have 'Label' in the name so as to be 
 371     # able to keep backwards compatibility with using the above 
 372     # methods.  Eventually these should migrate to be the methods used 
 373     # primarily and loose the 'Label' in the name... 
 375     def AddLabelTool(self
, id, label
, bitmap
, 
 376                      bmpDisabled 
= wxNullBitmap
, 
 377                      kind 
= wxITEM_NORMAL
, 
 378                      shortHelp 
= '', longHelp 
= '', 
 381         The full AddTool() function. 
 383         If bmpDisabled is wxNullBitmap, a shadowed version of the normal bitmap 
 384         is created and used as the disabled image. 
 386         return self
.DoAddTool(id, label
, bitmap
, bmpDisabled
, kind
, 
 387                               shortHelp
, longHelp
, clientData
) 
 390     def InsertLabelTool(self
, pos
, id, label
, bitmap
, 
 391                         bmpDisabled 
= wxNullBitmap
, 
 392                         kind 
= wxITEM_NORMAL
, 
 393                         shortHelp 
= '', longHelp 
= '', 
 396         Insert the new tool at the given position, if pos == GetToolsCount(), it 
 397         is equivalent to AddTool() 
 399         return self
.DoInsertTool(pos
, id, label
, bitmap
, bmpDisabled
, kind
, 
 400                                  shortHelp
, longHelp
, clientData
) 
 402     def AddCheckLabelTool(self
, id, label
, bitmap
, 
 403                         bmpDisabled 
= wxNullBitmap
, 
 404                         shortHelp 
= '', longHelp 
= '', 
 406         '''Add a check tool, i.e. a tool which can be toggled''' 
 407         return self
.DoAddTool(id, label
, bitmap
, bmpDisabled
, wx
.wxITEM_CHECK
, 
 408                               shortHelp
, longHelp
, clientData
) 
 410     def AddRadioLabelTool(self
, id, label
, bitmap
, 
 411                           bmpDisabled 
= wxNullBitmap
, 
 412                           shortHelp 
= '', longHelp 
= '', 
 415         Add a radio tool, i.e. a tool which can be toggled and releases any 
 416         other toggled radio tools in the same group when it happens 
 418         return self
.DoAddTool(id, label
, bitmap
, bmpDisabled
, wx
.wxITEM_RADIO
, 
 419                               shortHelp
, longHelp
, clientData
) 
 422     # For consistency with the backwards compatible methods above, here are 
 423     # some non-'Label' versions of the Check and Radio methods 
 424     def AddCheckTool(self
, id, bitmap
, 
 425                      bmpDisabled 
= wxNullBitmap
, 
 426                      shortHelp 
= '', longHelp 
= '', 
 428         '''Add a check tool, i.e. a tool which can be toggled''' 
 429         return self
.DoAddTool(id, '', bitmap
, bmpDisabled
, wx
.wxITEM_CHECK
, 
 430                               shortHelp
, longHelp
, clientData
) 
 432     def AddRadioTool(self
, id, bitmap
, 
 433                      bmpDisabled 
= wxNullBitmap
, 
 434                      shortHelp 
= '', longHelp 
= '', 
 437         Add a radio tool, i.e. a tool which can be toggled and releases any 
 438         other toggled radio tools in the same group when it happens 
 440         return self
.DoAddTool(id, '', bitmap
, bmpDisabled
, wx
.wxITEM_RADIO
, 
 441                               shortHelp
, longHelp
, clientData
) 
 443 class wxToolBarBase(wxToolBarBasePtr
): 
 444     def __init__(self
,this
): 
 450 class wxToolBarPtr(wxToolBarBasePtr
): 
 451     def __init__(self
,this
): 
 454     def Create(self
, *_args
, **_kwargs
): 
 455         val 
= apply(stattoolc
.wxToolBar_Create
,(self
,) + _args
, _kwargs
) 
 457     def FindToolForPosition(self
, *_args
, **_kwargs
): 
 458         val 
= apply(stattoolc
.wxToolBar_FindToolForPosition
,(self
,) + _args
, _kwargs
) 
 461         return "<C wxToolBar instance at %s>" % (self
.this
,) 
 462 class wxToolBar(wxToolBarPtr
): 
 463     def __init__(self
,*_args
,**_kwargs
): 
 464         self
.this 
= apply(stattoolc
.new_wxToolBar
,_args
,_kwargs
) 
 466         self
._setOORInfo
(self
) 
 470 def wxPreToolBar(*_args
,**_kwargs
): 
 471     val 
= wxToolBarPtr(apply(stattoolc
.new_wxPreToolBar
,_args
,_kwargs
)) 
 477 class wxToolBarSimplePtr(wxToolBarBasePtr
): 
 478     def __init__(self
,this
): 
 481     def Create(self
, *_args
, **_kwargs
): 
 482         val 
= apply(stattoolc
.wxToolBarSimple_Create
,(self
,) + _args
, _kwargs
) 
 484     def FindToolForPosition(self
, *_args
, **_kwargs
): 
 485         val 
= apply(stattoolc
.wxToolBarSimple_FindToolForPosition
,(self
,) + _args
, _kwargs
) 
 488         return "<C wxToolBarSimple instance at %s>" % (self
.this
,) 
 489 class wxToolBarSimple(wxToolBarSimplePtr
): 
 490     def __init__(self
,*_args
,**_kwargs
): 
 491         self
.this 
= apply(stattoolc
.new_wxToolBarSimple
,_args
,_kwargs
) 
 493         self
._setOORInfo
(self
) 
 497 def wxPreToolBarSimple(*_args
,**_kwargs
): 
 498     val 
= wxToolBarSimplePtr(apply(stattoolc
.new_wxPreToolBarSimple
,_args
,_kwargs
)) 
 506 #-------------- FUNCTION WRAPPERS ------------------ 
 510 #-------------- VARIABLE WRAPPERS ------------------ 
 512 wxTOOL_STYLE_BUTTON 
= stattoolc
.wxTOOL_STYLE_BUTTON
 
 513 wxTOOL_STYLE_SEPARATOR 
= stattoolc
.wxTOOL_STYLE_SEPARATOR
 
 514 wxTOOL_STYLE_CONTROL 
= stattoolc
.wxTOOL_STYLE_CONTROL