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 / misc2.pyo (.txt) < prev    next >
Encoding:
Python Compiled Bytecode  |  2003-04-19  |  107.0 KB  |  2,173 lines

  1. # Source Generated with Decompyle++
  2. # File: in.pyo (Python 2.2)
  3.  
  4. import misc2c
  5. from windows import *
  6. from misc import *
  7. from gdi import *
  8. from fonts import *
  9. from clip_dnd import *
  10. from events import *
  11. from streams import *
  12. from utils import *
  13. wxART_TOOLBAR = 'wxART_TOOLBAR_C'
  14. wxART_MENU = 'wxART_MENU_C'
  15. wxART_FRAME_ICON = 'wxART_FRAME_ICON_C'
  16. wxART_CMN_DIALOG = 'wxART_CMN_DIALOG_C'
  17. wxART_HELP_BROWSER = 'wxART_HELP_BROWSER_C'
  18. wxART_MESSAGE_BOX = 'wxART_MESSAGE_BOX_C'
  19. wxART_OTHER = 'wxART_OTHER_C'
  20. wxART_ADD_BOOKMARK = 'wxART_ADD_BOOKMARK'
  21. wxART_DEL_BOOKMARK = 'wxART_DEL_BOOKMARK'
  22. wxART_HELP_SIDE_PANEL = 'wxART_HELP_SIDE_PANEL'
  23. wxART_HELP_SETTINGS = 'wxART_HELP_SETTINGS'
  24. wxART_HELP_BOOK = 'wxART_HELP_BOOK'
  25. wxART_HELP_FOLDER = 'wxART_HELP_FOLDER'
  26. wxART_HELP_PAGE = 'wxART_HELP_PAGE'
  27. wxART_GO_BACK = 'wxART_GO_BACK'
  28. wxART_GO_FORWARD = 'wxART_GO_FORWARD'
  29. wxART_GO_UP = 'wxART_GO_UP'
  30. wxART_GO_DOWN = 'wxART_GO_DOWN'
  31. wxART_GO_TO_PARENT = 'wxART_GO_TO_PARENT'
  32. wxART_GO_HOME = 'wxART_GO_HOME'
  33. wxART_FILE_OPEN = 'wxART_FILE_OPEN'
  34. wxART_PRINT = 'wxART_PRINT'
  35. wxART_HELP = 'wxART_HELP'
  36. wxART_TIP = 'wxART_TIP'
  37. wxART_REPORT_VIEW = 'wxART_REPORT_VIEW'
  38. wxART_LIST_VIEW = 'wxART_LIST_VIEW'
  39. wxART_NEW_DIR = 'wxART_NEW_DIR'
  40. wxART_FOLDER = 'wxART_FOLDER'
  41. wxART_GO_DIR_UP = 'wxART_GO_DIR_UP'
  42. wxART_EXECUTABLE_FILE = 'wxART_EXECUTABLE_FILE'
  43. wxART_NORMAL_FILE = 'wxART_NORMAL_FILE'
  44. wxART_TICK_MARK = 'wxART_TICK_MARK'
  45. wxART_CROSS_MARK = 'wxART_CROSS_MARK'
  46. wxART_ERROR = 'wxART_ERROR'
  47. wxART_QUESTION = 'wxART_QUESTION'
  48. wxART_WARNING = 'wxART_WARNING'
  49. wxART_INFORMATION = 'wxART_INFORMATION'
  50.  
  51. class wxSystemSettingsPtr:
  52.     
  53.     def __init__(self, this):
  54.         self.this = this
  55.         self.thisown = 0
  56.  
  57.     
  58.     def __repr__(self):
  59.         return '<C wxSystemSettings instance at %s>' % (self.this,)
  60.  
  61.  
  62.  
  63. class wxSystemSettings(wxSystemSettingsPtr):
  64.     
  65.     def __init__(self, this):
  66.         self.this = this
  67.  
  68.  
  69.  
  70. class wxToolTipPtr(wxObjectPtr):
  71.     
  72.     def __init__(self, this):
  73.         self.this = this
  74.         self.thisown = 0
  75.  
  76.     
  77.     def SetTip(self, *_args, **_kwargs):
  78.         val = apply(misc2c.wxToolTip_SetTip, (self,) + _args, _kwargs)
  79.         return val
  80.  
  81.     
  82.     def GetTip(self, *_args, **_kwargs):
  83.         val = apply(misc2c.wxToolTip_GetTip, (self,) + _args, _kwargs)
  84.         return val
  85.  
  86.     
  87.     def GetWindow(self, *_args, **_kwargs):
  88.         val = apply(misc2c.wxToolTip_GetWindow, (self,) + _args, _kwargs)
  89.         return val
  90.  
  91.     
  92.     def __repr__(self):
  93.         return '<C wxToolTip instance at %s>' % (self.this,)
  94.  
  95.  
  96.  
  97. class wxToolTip(wxToolTipPtr):
  98.     
  99.     def __init__(self, *_args, **_kwargs):
  100.         self.this = apply(misc2c.new_wxToolTip, _args, _kwargs)
  101.         self.thisown = 1
  102.  
  103.  
  104.  
  105. class wxCaretPtr:
  106.     
  107.     def __init__(self, this):
  108.         self.this = this
  109.         self.thisown = 0
  110.  
  111.     
  112.     def __del__(self, delfunc = misc2c.delete_wxCaret):
  113.         if self.thisown == 1:
  114.             
  115.             try:
  116.                 delfunc(self)
  117.             except:
  118.                 pass
  119.  
  120.         
  121.  
  122.     
  123.     def IsOk(self, *_args, **_kwargs):
  124.         val = apply(misc2c.wxCaret_IsOk, (self,) + _args, _kwargs)
  125.         return val
  126.  
  127.     
  128.     def IsVisible(self, *_args, **_kwargs):
  129.         val = apply(misc2c.wxCaret_IsVisible, (self,) + _args, _kwargs)
  130.         return val
  131.  
  132.     
  133.     def GetPositionTuple(self, *_args, **_kwargs):
  134.         val = apply(misc2c.wxCaret_GetPositionTuple, (self,) + _args, _kwargs)
  135.         return val
  136.  
  137.     
  138.     def GetPosition(self, *_args, **_kwargs):
  139.         val = apply(misc2c.wxCaret_GetPosition, (self,) + _args, _kwargs)
  140.         if val:
  141.             val = wxPointPtr(val)
  142.             val.thisown = 1
  143.         
  144.         return val
  145.  
  146.     
  147.     def GetSizeTuple(self, *_args, **_kwargs):
  148.         val = apply(misc2c.wxCaret_GetSizeTuple, (self,) + _args, _kwargs)
  149.         return val
  150.  
  151.     
  152.     def GetSize(self, *_args, **_kwargs):
  153.         val = apply(misc2c.wxCaret_GetSize, (self,) + _args, _kwargs)
  154.         if val:
  155.             val = wxSizePtr(val)
  156.             val.thisown = 1
  157.         
  158.         return val
  159.  
  160.     
  161.     def GetWindow(self, *_args, **_kwargs):
  162.         val = apply(misc2c.wxCaret_GetWindow, (self,) + _args, _kwargs)
  163.         return val
  164.  
  165.     
  166.     def MoveXY(self, *_args, **_kwargs):
  167.         val = apply(misc2c.wxCaret_MoveXY, (self,) + _args, _kwargs)
  168.         return val
  169.  
  170.     
  171.     def Move(self, *_args, **_kwargs):
  172.         val = apply(misc2c.wxCaret_Move, (self,) + _args, _kwargs)
  173.         return val
  174.  
  175.     
  176.     def SetSizeWH(self, *_args, **_kwargs):
  177.         val = apply(misc2c.wxCaret_SetSizeWH, (self,) + _args, _kwargs)
  178.         return val
  179.  
  180.     
  181.     def SetSize(self, *_args, **_kwargs):
  182.         val = apply(misc2c.wxCaret_SetSize, (self,) + _args, _kwargs)
  183.         return val
  184.  
  185.     
  186.     def Show(self, *_args, **_kwargs):
  187.         val = apply(misc2c.wxCaret_Show, (self,) + _args, _kwargs)
  188.         return val
  189.  
  190.     
  191.     def Hide(self, *_args, **_kwargs):
  192.         val = apply(misc2c.wxCaret_Hide, (self,) + _args, _kwargs)
  193.         return val
  194.  
  195.     
  196.     def __repr__(self):
  197.         return '<C wxCaret instance at %s>' % (self.this,)
  198.  
  199.  
  200.  
  201. class wxCaret(wxCaretPtr):
  202.     
  203.     def __init__(self, *_args, **_kwargs):
  204.         self.this = apply(misc2c.new_wxCaret, _args, _kwargs)
  205.         self.thisown = 1
  206.  
  207.  
  208.  
  209. class wxBusyCursorPtr:
  210.     
  211.     def __init__(self, this):
  212.         self.this = this
  213.         self.thisown = 0
  214.  
  215.     
  216.     def __del__(self, delfunc = misc2c.delete_wxBusyCursor):
  217.         if self.thisown == 1:
  218.             
  219.             try:
  220.                 delfunc(self)
  221.             except:
  222.                 pass
  223.  
  224.         
  225.  
  226.     
  227.     def __repr__(self):
  228.         return '<C wxBusyCursor instance at %s>' % (self.this,)
  229.  
  230.  
  231.  
  232. class wxBusyCursor(wxBusyCursorPtr):
  233.     
  234.     def __init__(self, *_args, **_kwargs):
  235.         self.this = apply(misc2c.new_wxBusyCursor, _args, _kwargs)
  236.         self.thisown = 1
  237.  
  238.  
  239.  
  240. class wxWindowDisablerPtr:
  241.     
  242.     def __init__(self, this):
  243.         self.this = this
  244.         self.thisown = 0
  245.  
  246.     
  247.     def __del__(self, delfunc = misc2c.delete_wxWindowDisabler):
  248.         if self.thisown == 1:
  249.             
  250.             try:
  251.                 delfunc(self)
  252.             except:
  253.                 pass
  254.  
  255.         
  256.  
  257.     
  258.     def __repr__(self):
  259.         return '<C wxWindowDisabler instance at %s>' % (self.this,)
  260.  
  261.  
  262.  
  263. class wxWindowDisabler(wxWindowDisablerPtr):
  264.     
  265.     def __init__(self, *_args, **_kwargs):
  266.         self.this = apply(misc2c.new_wxWindowDisabler, _args, _kwargs)
  267.         self.thisown = 1
  268.  
  269.  
  270.  
  271. class wxMutexGuiLockerPtr:
  272.     
  273.     def __init__(self, this):
  274.         self.this = this
  275.         self.thisown = 0
  276.  
  277.     
  278.     def __del__(self, delfunc = misc2c.delete_wxMutexGuiLocker):
  279.         if self.thisown == 1:
  280.             
  281.             try:
  282.                 delfunc(self)
  283.             except:
  284.                 pass
  285.  
  286.         
  287.  
  288.     
  289.     def __repr__(self):
  290.         return '<C wxMutexGuiLocker instance at %s>' % (self.this,)
  291.  
  292.  
  293.  
  294. class wxMutexGuiLocker(wxMutexGuiLockerPtr):
  295.     
  296.     def __init__(self, *_args, **_kwargs):
  297.         self.this = apply(misc2c.new_wxMutexGuiLocker, _args, _kwargs)
  298.         self.thisown = 1
  299.  
  300.  
  301.  
  302. class wxTipProviderPtr:
  303.     
  304.     def __init__(self, this):
  305.         self.this = this
  306.         self.thisown = 0
  307.  
  308.     
  309.     def __del__(self, delfunc = misc2c.delete_wxTipProvider):
  310.         if self.thisown == 1:
  311.             
  312.             try:
  313.                 delfunc(self)
  314.             except:
  315.                 pass
  316.  
  317.         
  318.  
  319.     
  320.     def GetTip(self, *_args, **_kwargs):
  321.         val = apply(misc2c.wxTipProvider_GetTip, (self,) + _args, _kwargs)
  322.         return val
  323.  
  324.     
  325.     def GetCurrentTip(self, *_args, **_kwargs):
  326.         val = apply(misc2c.wxTipProvider_GetCurrentTip, (self,) + _args, _kwargs)
  327.         return val
  328.  
  329.     
  330.     def PreprocessTip(self, *_args, **_kwargs):
  331.         val = apply(misc2c.wxTipProvider_PreprocessTip, (self,) + _args, _kwargs)
  332.         return val
  333.  
  334.     
  335.     def __repr__(self):
  336.         return '<C wxTipProvider instance at %s>' % (self.this,)
  337.  
  338.  
  339.  
  340. class wxTipProvider(wxTipProviderPtr):
  341.     
  342.     def __init__(self, this):
  343.         self.this = this
  344.  
  345.  
  346.  
  347. class wxPyTipProviderPtr(wxTipProviderPtr):
  348.     
  349.     def __init__(self, this):
  350.         self.this = this
  351.         self.thisown = 0
  352.  
  353.     
  354.     def _setCallbackInfo(self, *_args, **_kwargs):
  355.         val = apply(misc2c.wxPyTipProvider__setCallbackInfo, (self,) + _args, _kwargs)
  356.         return val
  357.  
  358.     
  359.     def __repr__(self):
  360.         return '<C wxPyTipProvider instance at %s>' % (self.this,)
  361.  
  362.  
  363.  
  364. class wxPyTipProvider(wxPyTipProviderPtr):
  365.     
  366.     def __init__(self, *_args, **_kwargs):
  367.         self.this = apply(misc2c.new_wxPyTipProvider, _args, _kwargs)
  368.         self.thisown = 1
  369.         self._setCallbackInfo(self, wxPyTipProvider)
  370.  
  371.  
  372.  
  373. class wxDragImagePtr(wxObjectPtr):
  374.     
  375.     def __init__(self, this):
  376.         self.this = this
  377.         self.thisown = 0
  378.  
  379.     
  380.     def __del__(self, delfunc = misc2c.delete_wxDragImage):
  381.         if self.thisown == 1:
  382.             
  383.             try:
  384.                 delfunc(self)
  385.             except:
  386.                 pass
  387.  
  388.         
  389.  
  390.     
  391.     def SetBackingBitmap(self, *_args, **_kwargs):
  392.         val = apply(misc2c.wxDragImage_SetBackingBitmap, (self,) + _args, _kwargs)
  393.         return val
  394.  
  395.     
  396.     def BeginDrag(self, *_args, **_kwargs):
  397.         val = apply(misc2c.wxDragImage_BeginDrag, (self,) + _args, _kwargs)
  398.         return val
  399.  
  400.     
  401.     def BeginDragBounded(self, *_args, **_kwargs):
  402.         val = apply(misc2c.wxDragImage_BeginDragBounded, (self,) + _args, _kwargs)
  403.         return val
  404.  
  405.     
  406.     def EndDrag(self, *_args, **_kwargs):
  407.         val = apply(misc2c.wxDragImage_EndDrag, (self,) + _args, _kwargs)
  408.         return val
  409.  
  410.     
  411.     def Move(self, *_args, **_kwargs):
  412.         val = apply(misc2c.wxDragImage_Move, (self,) + _args, _kwargs)
  413.         return val
  414.  
  415.     
  416.     def Show(self, *_args, **_kwargs):
  417.         val = apply(misc2c.wxDragImage_Show, (self,) + _args, _kwargs)
  418.         return val
  419.  
  420.     
  421.     def Hide(self, *_args, **_kwargs):
  422.         val = apply(misc2c.wxDragImage_Hide, (self,) + _args, _kwargs)
  423.         return val
  424.  
  425.     
  426.     def GetImageRect(self, *_args, **_kwargs):
  427.         val = apply(misc2c.wxDragImage_GetImageRect, (self,) + _args, _kwargs)
  428.         if val:
  429.             val = wxRectPtr(val)
  430.             val.thisown = 1
  431.         
  432.         return val
  433.  
  434.     
  435.     def RedrawImage(self, *_args, **_kwargs):
  436.         val = apply(misc2c.wxDragImage_RedrawImage, (self,) + _args, _kwargs)
  437.         return val
  438.  
  439.     
  440.     def __repr__(self):
  441.         return '<C wxDragImage instance at %s>' % (self.this,)
  442.  
  443.     BeginDrag2 = BeginDragBounded
  444.  
  445.  
  446. class wxDragImage(wxDragImagePtr):
  447.     
  448.     def __init__(self, *_args, **_kwargs):
  449.         self.this = apply(misc2c.new_wxDragImage, _args, _kwargs)
  450.         self.thisown = 1
  451.  
  452.  
  453.  
  454. def wxDragIcon(*_args, **_kwargs):
  455.     val = wxDragImagePtr(apply(misc2c.new_wxDragIcon, _args, _kwargs))
  456.     val.thisown = 1
  457.     return val
  458.  
  459.  
  460. def wxDragString(*_args, **_kwargs):
  461.     val = wxDragImagePtr(apply(misc2c.new_wxDragString, _args, _kwargs))
  462.     val.thisown = 1
  463.     return val
  464.  
  465.  
  466. def wxDragTreeItem(*_args, **_kwargs):
  467.     val = wxDragImagePtr(apply(misc2c.new_wxDragTreeItem, _args, _kwargs))
  468.     val.thisown = 1
  469.     return val
  470.  
  471.  
  472. def wxDragListItem(*_args, **_kwargs):
  473.     val = wxDragImagePtr(apply(misc2c.new_wxDragListItem, _args, _kwargs))
  474.     val.thisown = 1
  475.     return val
  476.  
  477.  
  478. class wxPyTimerPtr(wxObjectPtr):
  479.     
  480.     def __init__(self, this):
  481.         self.this = this
  482.         self.thisown = 0
  483.  
  484.     
  485.     def __del__(self, delfunc = misc2c.delete_wxPyTimer):
  486.         if self.thisown == 1:
  487.             
  488.             try:
  489.                 delfunc(self)
  490.             except:
  491.                 pass
  492.  
  493.         
  494.  
  495.     
  496.     def GetInterval(self, *_args, **_kwargs):
  497.         val = apply(misc2c.wxPyTimer_GetInterval, (self,) + _args, _kwargs)
  498.         return val
  499.  
  500.     
  501.     def IsOneShot(self, *_args, **_kwargs):
  502.         val = apply(misc2c.wxPyTimer_IsOneShot, (self,) + _args, _kwargs)
  503.         return val
  504.  
  505.     
  506.     def IsRunning(self, *_args, **_kwargs):
  507.         val = apply(misc2c.wxPyTimer_IsRunning, (self,) + _args, _kwargs)
  508.         return val
  509.  
  510.     
  511.     def SetOwner(self, *_args, **_kwargs):
  512.         val = apply(misc2c.wxPyTimer_SetOwner, (self,) + _args, _kwargs)
  513.         return val
  514.  
  515.     
  516.     def Start(self, *_args, **_kwargs):
  517.         val = apply(misc2c.wxPyTimer_Start, (self,) + _args, _kwargs)
  518.         return val
  519.  
  520.     
  521.     def Stop(self, *_args, **_kwargs):
  522.         val = apply(misc2c.wxPyTimer_Stop, (self,) + _args, _kwargs)
  523.         return val
  524.  
  525.     
  526.     def __repr__(self):
  527.         return '<C wxPyTimer instance at %s>' % (self.this,)
  528.  
  529.  
  530.  
  531. class wxPyTimer(wxPyTimerPtr):
  532.     
  533.     def __init__(self, *_args, **_kwargs):
  534.         self.this = apply(misc2c.new_wxPyTimer, _args, _kwargs)
  535.         self.thisown = 1
  536.  
  537.  
  538.  
  539. class wxStopWatchPtr:
  540.     
  541.     def __init__(self, this):
  542.         self.this = this
  543.         self.thisown = 0
  544.  
  545.     
  546.     def __del__(self, delfunc = misc2c.delete_wxStopWatch):
  547.         if self.thisown == 1:
  548.             
  549.             try:
  550.                 delfunc(self)
  551.             except:
  552.                 pass
  553.  
  554.         
  555.  
  556.     
  557.     def Start(self, *_args, **_kwargs):
  558.         val = apply(misc2c.wxStopWatch_Start, (self,) + _args, _kwargs)
  559.         return val
  560.  
  561.     
  562.     def Pause(self, *_args, **_kwargs):
  563.         val = apply(misc2c.wxStopWatch_Pause, (self,) + _args, _kwargs)
  564.         return val
  565.  
  566.     
  567.     def Resume(self, *_args, **_kwargs):
  568.         val = apply(misc2c.wxStopWatch_Resume, (self,) + _args, _kwargs)
  569.         return val
  570.  
  571.     
  572.     def Time(self, *_args, **_kwargs):
  573.         val = apply(misc2c.wxStopWatch_Time, (self,) + _args, _kwargs)
  574.         return val
  575.  
  576.     
  577.     def __repr__(self):
  578.         return '<C wxStopWatch instance at %s>' % (self.this,)
  579.  
  580.  
  581.  
  582. class wxStopWatch(wxStopWatchPtr):
  583.     
  584.     def __init__(self, *_args, **_kwargs):
  585.         self.this = apply(misc2c.new_wxStopWatch, _args, _kwargs)
  586.         self.thisown = 1
  587.  
  588.  
  589.  
  590. class wxLogPtr:
  591.     
  592.     def __init__(self, this):
  593.         self.this = this
  594.         self.thisown = 0
  595.  
  596.     
  597.     def Flush(self, *_args, **_kwargs):
  598.         val = apply(misc2c.wxLog_Flush, (self,) + _args, _kwargs)
  599.         return val
  600.  
  601.     
  602.     def HasPendingMessages(self, *_args, **_kwargs):
  603.         val = apply(misc2c.wxLog_HasPendingMessages, (self,) + _args, _kwargs)
  604.         return val
  605.  
  606.     
  607.     def GetVerbose(self, *_args, **_kwargs):
  608.         val = apply(misc2c.wxLog_GetVerbose, (self,) + _args, _kwargs)
  609.         return val
  610.  
  611.     
  612.     def TimeStamp(self, *_args, **_kwargs):
  613.         val = apply(misc2c.wxLog_TimeStamp, (self,) + _args, _kwargs)
  614.         return val
  615.  
  616.     
  617.     def __repr__(self):
  618.         return '<C wxLog instance at %s>' % (self.this,)
  619.  
  620.  
  621.  
  622. class wxLog(wxLogPtr):
  623.     
  624.     def __init__(self, *_args, **_kwargs):
  625.         self.this = apply(misc2c.new_wxLog, _args, _kwargs)
  626.         self.thisown = 1
  627.  
  628.  
  629.  
  630. class wxLogStderrPtr(wxLogPtr):
  631.     
  632.     def __init__(self, this):
  633.         self.this = this
  634.         self.thisown = 0
  635.  
  636.     
  637.     def __repr__(self):
  638.         return '<C wxLogStderr instance at %s>' % (self.this,)
  639.  
  640.  
  641.  
  642. class wxLogStderr(wxLogStderrPtr):
  643.     
  644.     def __init__(self, *_args, **_kwargs):
  645.         self.this = apply(misc2c.new_wxLogStderr, _args, _kwargs)
  646.         self.thisown = 1
  647.  
  648.  
  649.  
  650. class wxLogTextCtrlPtr(wxLogPtr):
  651.     
  652.     def __init__(self, this):
  653.         self.this = this
  654.         self.thisown = 0
  655.  
  656.     
  657.     def __repr__(self):
  658.         return '<C wxLogTextCtrl instance at %s>' % (self.this,)
  659.  
  660.  
  661.  
  662. class wxLogTextCtrl(wxLogTextCtrlPtr):
  663.     
  664.     def __init__(self, *_args, **_kwargs):
  665.         self.this = apply(misc2c.new_wxLogTextCtrl, _args, _kwargs)
  666.         self.thisown = 1
  667.  
  668.  
  669.  
  670. class wxLogGuiPtr(wxLogPtr):
  671.     
  672.     def __init__(self, this):
  673.         self.this = this
  674.         self.thisown = 0
  675.  
  676.     
  677.     def __repr__(self):
  678.         return '<C wxLogGui instance at %s>' % (self.this,)
  679.  
  680.  
  681.  
  682. class wxLogGui(wxLogGuiPtr):
  683.     
  684.     def __init__(self, *_args, **_kwargs):
  685.         self.this = apply(misc2c.new_wxLogGui, _args, _kwargs)
  686.         self.thisown = 1
  687.  
  688.  
  689.  
  690. class wxLogWindowPtr(wxLogPtr):
  691.     
  692.     def __init__(self, this):
  693.         self.this = this
  694.         self.thisown = 0
  695.  
  696.     
  697.     def Show(self, *_args, **_kwargs):
  698.         val = apply(misc2c.wxLogWindow_Show, (self,) + _args, _kwargs)
  699.         return val
  700.  
  701.     
  702.     def GetFrame(self, *_args, **_kwargs):
  703.         val = apply(misc2c.wxLogWindow_GetFrame, (self,) + _args, _kwargs)
  704.         return val
  705.  
  706.     
  707.     def GetOldLog(self, *_args, **_kwargs):
  708.         val = apply(misc2c.wxLogWindow_GetOldLog, (self,) + _args, _kwargs)
  709.         if val:
  710.             val = wxLogPtr(val)
  711.         
  712.         return val
  713.  
  714.     
  715.     def IsPassingMessages(self, *_args, **_kwargs):
  716.         val = apply(misc2c.wxLogWindow_IsPassingMessages, (self,) + _args, _kwargs)
  717.         return val
  718.  
  719.     
  720.     def PassMessages(self, *_args, **_kwargs):
  721.         val = apply(misc2c.wxLogWindow_PassMessages, (self,) + _args, _kwargs)
  722.         return val
  723.  
  724.     
  725.     def __repr__(self):
  726.         return '<C wxLogWindow instance at %s>' % (self.this,)
  727.  
  728.  
  729.  
  730. class wxLogWindow(wxLogWindowPtr):
  731.     
  732.     def __init__(self, *_args, **_kwargs):
  733.         self.this = apply(misc2c.new_wxLogWindow, _args, _kwargs)
  734.         self.thisown = 1
  735.  
  736.  
  737.  
  738. class wxLogChainPtr(wxLogPtr):
  739.     
  740.     def __init__(self, this):
  741.         self.this = this
  742.         self.thisown = 0
  743.  
  744.     
  745.     def SetLog(self, *_args, **_kwargs):
  746.         val = apply(misc2c.wxLogChain_SetLog, (self,) + _args, _kwargs)
  747.         return val
  748.  
  749.     
  750.     def PassMessages(self, *_args, **_kwargs):
  751.         val = apply(misc2c.wxLogChain_PassMessages, (self,) + _args, _kwargs)
  752.         return val
  753.  
  754.     
  755.     def IsPassingMessages(self, *_args, **_kwargs):
  756.         val = apply(misc2c.wxLogChain_IsPassingMessages, (self,) + _args, _kwargs)
  757.         return val
  758.  
  759.     
  760.     def GetOldLog(self, *_args, **_kwargs):
  761.         val = apply(misc2c.wxLogChain_GetOldLog, (self,) + _args, _kwargs)
  762.         if val:
  763.             val = wxLogPtr(val)
  764.         
  765.         return val
  766.  
  767.     
  768.     def __repr__(self):
  769.         return '<C wxLogChain instance at %s>' % (self.this,)
  770.  
  771.  
  772.  
  773. class wxLogChain(wxLogChainPtr):
  774.     
  775.     def __init__(self, *_args, **_kwargs):
  776.         self.this = apply(misc2c.new_wxLogChain, _args, _kwargs)
  777.         self.thisown = 1
  778.  
  779.  
  780.  
  781. class wxLogNullPtr:
  782.     
  783.     def __init__(self, this):
  784.         self.this = this
  785.         self.thisown = 0
  786.  
  787.     
  788.     def __del__(self, delfunc = misc2c.delete_wxLogNull):
  789.         if self.thisown == 1:
  790.             
  791.             try:
  792.                 delfunc(self)
  793.             except:
  794.                 pass
  795.  
  796.         
  797.  
  798.     
  799.     def __repr__(self):
  800.         return '<C wxLogNull instance at %s>' % (self.this,)
  801.  
  802.  
  803.  
  804. class wxLogNull(wxLogNullPtr):
  805.     
  806.     def __init__(self, *_args, **_kwargs):
  807.         self.this = apply(misc2c.new_wxLogNull, _args, _kwargs)
  808.         self.thisown = 1
  809.  
  810.  
  811.  
  812. class wxPyLogPtr(wxLogPtr):
  813.     
  814.     def __init__(self, this):
  815.         self.this = this
  816.         self.thisown = 0
  817.  
  818.     
  819.     def _setCallbackInfo(self, *_args, **_kwargs):
  820.         val = apply(misc2c.wxPyLog__setCallbackInfo, (self,) + _args, _kwargs)
  821.         return val
  822.  
  823.     
  824.     def Destroy(self, *_args, **_kwargs):
  825.         val = apply(misc2c.wxPyLog_Destroy, (self,) + _args, _kwargs)
  826.         return val
  827.  
  828.     
  829.     def __repr__(self):
  830.         return '<C wxPyLog instance at %s>' % (self.this,)
  831.  
  832.  
  833.  
  834. class wxPyLog(wxPyLogPtr):
  835.     
  836.     def __init__(self, *_args, **_kwargs):
  837.         self.this = apply(misc2c.new_wxPyLog, _args, _kwargs)
  838.         self.thisown = 1
  839.         self._setCallbackInfo(self, wxPyLog)
  840.  
  841.  
  842.  
  843. class wxProcessEventPtr(wxEventPtr):
  844.     
  845.     def __init__(self, this):
  846.         self.this = this
  847.         self.thisown = 0
  848.  
  849.     
  850.     def GetPid(self, *_args, **_kwargs):
  851.         val = apply(misc2c.wxProcessEvent_GetPid, (self,) + _args, _kwargs)
  852.         return val
  853.  
  854.     
  855.     def GetExitCode(self, *_args, **_kwargs):
  856.         val = apply(misc2c.wxProcessEvent_GetExitCode, (self,) + _args, _kwargs)
  857.         return val
  858.  
  859.     
  860.     def __setattr__(self, name, value):
  861.         if name == 'm_pid':
  862.             misc2c.wxProcessEvent_m_pid_set(self, value)
  863.             return None
  864.         
  865.         if name == 'm_exitcode':
  866.             misc2c.wxProcessEvent_m_exitcode_set(self, value)
  867.             return None
  868.         
  869.         self.__dict__[name] = value
  870.  
  871.     
  872.     def __getattr__(self, name):
  873.         if name == 'm_pid':
  874.             return misc2c.wxProcessEvent_m_pid_get(self)
  875.         
  876.         if name == 'm_exitcode':
  877.             return misc2c.wxProcessEvent_m_exitcode_get(self)
  878.         
  879.         raise AttributeError, name
  880.  
  881.     
  882.     def __repr__(self):
  883.         return '<C wxProcessEvent instance at %s>' % (self.this,)
  884.  
  885.  
  886.  
  887. class wxProcessEvent(wxProcessEventPtr):
  888.     
  889.     def __init__(self, *_args, **_kwargs):
  890.         self.this = apply(misc2c.new_wxProcessEvent, _args, _kwargs)
  891.         self.thisown = 1
  892.  
  893.  
  894.  
  895. class wxProcessPtr(wxEvtHandlerPtr):
  896.     
  897.     def __init__(self, this):
  898.         self.this = this
  899.         self.thisown = 0
  900.  
  901.     
  902.     def Destroy(self, *_args, **_kwargs):
  903.         val = apply(misc2c.wxProcess_Destroy, (self,) + _args, _kwargs)
  904.         return val
  905.  
  906.     
  907.     def _setCallbackInfo(self, *_args, **_kwargs):
  908.         val = apply(misc2c.wxProcess__setCallbackInfo, (self,) + _args, _kwargs)
  909.         return val
  910.  
  911.     
  912.     def base_OnTerminate(self, *_args, **_kwargs):
  913.         val = apply(misc2c.wxProcess_base_OnTerminate, (self,) + _args, _kwargs)
  914.         return val
  915.  
  916.     
  917.     def Redirect(self, *_args, **_kwargs):
  918.         val = apply(misc2c.wxProcess_Redirect, (self,) + _args, _kwargs)
  919.         return val
  920.  
  921.     
  922.     def IsRedirected(self, *_args, **_kwargs):
  923.         val = apply(misc2c.wxProcess_IsRedirected, (self,) + _args, _kwargs)
  924.         return val
  925.  
  926.     
  927.     def Detach(self, *_args, **_kwargs):
  928.         val = apply(misc2c.wxProcess_Detach, (self,) + _args, _kwargs)
  929.         return val
  930.  
  931.     
  932.     def GetInputStream(self, *_args, **_kwargs):
  933.         val = apply(misc2c.wxProcess_GetInputStream, (self,) + _args, _kwargs)
  934.         return val
  935.  
  936.     
  937.     def GetErrorStream(self, *_args, **_kwargs):
  938.         val = apply(misc2c.wxProcess_GetErrorStream, (self,) + _args, _kwargs)
  939.         return val
  940.  
  941.     
  942.     def GetOutputStream(self, *_args, **_kwargs):
  943.         val = apply(misc2c.wxProcess_GetOutputStream, (self,) + _args, _kwargs)
  944.         if val:
  945.             val = wxOutputStreamPtr(val)
  946.         
  947.         return val
  948.  
  949.     
  950.     def CloseOutput(self, *_args, **_kwargs):
  951.         val = apply(misc2c.wxProcess_CloseOutput, (self,) + _args, _kwargs)
  952.         return val
  953.  
  954.     
  955.     def IsInputOpened(self, *_args, **_kwargs):
  956.         val = apply(misc2c.wxProcess_IsInputOpened, (self,) + _args, _kwargs)
  957.         return val
  958.  
  959.     
  960.     def IsInputAvailable(self, *_args, **_kwargs):
  961.         val = apply(misc2c.wxProcess_IsInputAvailable, (self,) + _args, _kwargs)
  962.         return val
  963.  
  964.     
  965.     def IsErrorAvailable(self, *_args, **_kwargs):
  966.         val = apply(misc2c.wxProcess_IsErrorAvailable, (self,) + _args, _kwargs)
  967.         return val
  968.  
  969.     
  970.     def __repr__(self):
  971.         return '<C wxProcess instance at %s>' % (self.this,)
  972.  
  973.  
  974.  
  975. class wxProcess(wxProcessPtr):
  976.     
  977.     def __init__(self, *_args, **_kwargs):
  978.         self.this = apply(misc2c.new_wxProcess, _args, _kwargs)
  979.         self.thisown = 1
  980.         self._setCallbackInfo(self, wxProcess)
  981.  
  982.  
  983.  
  984. class wxJoystickPtr(wxObjectPtr):
  985.     
  986.     def __init__(self, this):
  987.         self.this = this
  988.         self.thisown = 0
  989.  
  990.     
  991.     def __del__(self, delfunc = misc2c.delete_wxJoystick):
  992.         if self.thisown == 1:
  993.             
  994.             try:
  995.                 delfunc(self)
  996.             except:
  997.                 pass
  998.  
  999.         
  1000.  
  1001.     
  1002.     def GetPosition(self, *_args, **_kwargs):
  1003.         val = apply(misc2c.wxJoystick_GetPosition, (self,) + _args, _kwargs)
  1004.         if val:
  1005.             val = wxPointPtr(val)
  1006.             val.thisown = 1
  1007.         
  1008.         return val
  1009.  
  1010.     
  1011.     def GetZPosition(self, *_args, **_kwargs):
  1012.         val = apply(misc2c.wxJoystick_GetZPosition, (self,) + _args, _kwargs)
  1013.         return val
  1014.  
  1015.     
  1016.     def GetButtonState(self, *_args, **_kwargs):
  1017.         val = apply(misc2c.wxJoystick_GetButtonState, (self,) + _args, _kwargs)
  1018.         return val
  1019.  
  1020.     
  1021.     def GetPOVPosition(self, *_args, **_kwargs):
  1022.         val = apply(misc2c.wxJoystick_GetPOVPosition, (self,) + _args, _kwargs)
  1023.         return val
  1024.  
  1025.     
  1026.     def GetPOVCTSPosition(self, *_args, **_kwargs):
  1027.         val = apply(misc2c.wxJoystick_GetPOVCTSPosition, (self,) + _args, _kwargs)
  1028.         return val
  1029.  
  1030.     
  1031.     def GetRudderPosition(self, *_args, **_kwargs):
  1032.         val = apply(misc2c.wxJoystick_GetRudderPosition, (self,) + _args, _kwargs)
  1033.         return val
  1034.  
  1035.     
  1036.     def GetUPosition(self, *_args, **_kwargs):
  1037.         val = apply(misc2c.wxJoystick_GetUPosition, (self,) + _args, _kwargs)
  1038.         return val
  1039.  
  1040.     
  1041.     def GetVPosition(self, *_args, **_kwargs):
  1042.         val = apply(misc2c.wxJoystick_GetVPosition, (self,) + _args, _kwargs)
  1043.         return val
  1044.  
  1045.     
  1046.     def GetMovementThreshold(self, *_args, **_kwargs):
  1047.         val = apply(misc2c.wxJoystick_GetMovementThreshold, (self,) + _args, _kwargs)
  1048.         return val
  1049.  
  1050.     
  1051.     def SetMovementThreshold(self, *_args, **_kwargs):
  1052.         val = apply(misc2c.wxJoystick_SetMovementThreshold, (self,) + _args, _kwargs)
  1053.         return val
  1054.  
  1055.     
  1056.     def IsOk(self, *_args, **_kwargs):
  1057.         val = apply(misc2c.wxJoystick_IsOk, (self,) + _args, _kwargs)
  1058.         return val
  1059.  
  1060.     
  1061.     def GetNumberJoysticks(self, *_args, **_kwargs):
  1062.         val = apply(misc2c.wxJoystick_GetNumberJoysticks, (self,) + _args, _kwargs)
  1063.         return val
  1064.  
  1065.     
  1066.     def GetManufacturerId(self, *_args, **_kwargs):
  1067.         val = apply(misc2c.wxJoystick_GetManufacturerId, (self,) + _args, _kwargs)
  1068.         return val
  1069.  
  1070.     
  1071.     def GetProductId(self, *_args, **_kwargs):
  1072.         val = apply(misc2c.wxJoystick_GetProductId, (self,) + _args, _kwargs)
  1073.         return val
  1074.  
  1075.     
  1076.     def GetProductName(self, *_args, **_kwargs):
  1077.         val = apply(misc2c.wxJoystick_GetProductName, (self,) + _args, _kwargs)
  1078.         return val
  1079.  
  1080.     
  1081.     def GetXMin(self, *_args, **_kwargs):
  1082.         val = apply(misc2c.wxJoystick_GetXMin, (self,) + _args, _kwargs)
  1083.         return val
  1084.  
  1085.     
  1086.     def GetYMin(self, *_args, **_kwargs):
  1087.         val = apply(misc2c.wxJoystick_GetYMin, (self,) + _args, _kwargs)
  1088.         return val
  1089.  
  1090.     
  1091.     def GetZMin(self, *_args, **_kwargs):
  1092.         val = apply(misc2c.wxJoystick_GetZMin, (self,) + _args, _kwargs)
  1093.         return val
  1094.  
  1095.     
  1096.     def GetXMax(self, *_args, **_kwargs):
  1097.         val = apply(misc2c.wxJoystick_GetXMax, (self,) + _args, _kwargs)
  1098.         return val
  1099.  
  1100.     
  1101.     def GetYMax(self, *_args, **_kwargs):
  1102.         val = apply(misc2c.wxJoystick_GetYMax, (self,) + _args, _kwargs)
  1103.         return val
  1104.  
  1105.     
  1106.     def GetZMax(self, *_args, **_kwargs):
  1107.         val = apply(misc2c.wxJoystick_GetZMax, (self,) + _args, _kwargs)
  1108.         return val
  1109.  
  1110.     
  1111.     def GetNumberButtons(self, *_args, **_kwargs):
  1112.         val = apply(misc2c.wxJoystick_GetNumberButtons, (self,) + _args, _kwargs)
  1113.         return val
  1114.  
  1115.     
  1116.     def GetNumberAxes(self, *_args, **_kwargs):
  1117.         val = apply(misc2c.wxJoystick_GetNumberAxes, (self,) + _args, _kwargs)
  1118.         return val
  1119.  
  1120.     
  1121.     def GetMaxButtons(self, *_args, **_kwargs):
  1122.         val = apply(misc2c.wxJoystick_GetMaxButtons, (self,) + _args, _kwargs)
  1123.         return val
  1124.  
  1125.     
  1126.     def GetMaxAxes(self, *_args, **_kwargs):
  1127.         val = apply(misc2c.wxJoystick_GetMaxAxes, (self,) + _args, _kwargs)
  1128.         return val
  1129.  
  1130.     
  1131.     def GetPollingMin(self, *_args, **_kwargs):
  1132.         val = apply(misc2c.wxJoystick_GetPollingMin, (self,) + _args, _kwargs)
  1133.         return val
  1134.  
  1135.     
  1136.     def GetPollingMax(self, *_args, **_kwargs):
  1137.         val = apply(misc2c.wxJoystick_GetPollingMax, (self,) + _args, _kwargs)
  1138.         return val
  1139.  
  1140.     
  1141.     def GetRudderMin(self, *_args, **_kwargs):
  1142.         val = apply(misc2c.wxJoystick_GetRudderMin, (self,) + _args, _kwargs)
  1143.         return val
  1144.  
  1145.     
  1146.     def GetRudderMax(self, *_args, **_kwargs):
  1147.         val = apply(misc2c.wxJoystick_GetRudderMax, (self,) + _args, _kwargs)
  1148.         return val
  1149.  
  1150.     
  1151.     def GetUMin(self, *_args, **_kwargs):
  1152.         val = apply(misc2c.wxJoystick_GetUMin, (self,) + _args, _kwargs)
  1153.         return val
  1154.  
  1155.     
  1156.     def GetUMax(self, *_args, **_kwargs):
  1157.         val = apply(misc2c.wxJoystick_GetUMax, (self,) + _args, _kwargs)
  1158.         return val
  1159.  
  1160.     
  1161.     def GetVMin(self, *_args, **_kwargs):
  1162.         val = apply(misc2c.wxJoystick_GetVMin, (self,) + _args, _kwargs)
  1163.         return val
  1164.  
  1165.     
  1166.     def GetVMax(self, *_args, **_kwargs):
  1167.         val = apply(misc2c.wxJoystick_GetVMax, (self,) + _args, _kwargs)
  1168.         return val
  1169.  
  1170.     
  1171.     def HasRudder(self, *_args, **_kwargs):
  1172.         val = apply(misc2c.wxJoystick_HasRudder, (self,) + _args, _kwargs)
  1173.         return val
  1174.  
  1175.     
  1176.     def HasZ(self, *_args, **_kwargs):
  1177.         val = apply(misc2c.wxJoystick_HasZ, (self,) + _args, _kwargs)
  1178.         return val
  1179.  
  1180.     
  1181.     def HasU(self, *_args, **_kwargs):
  1182.         val = apply(misc2c.wxJoystick_HasU, (self,) + _args, _kwargs)
  1183.         return val
  1184.  
  1185.     
  1186.     def HasV(self, *_args, **_kwargs):
  1187.         val = apply(misc2c.wxJoystick_HasV, (self,) + _args, _kwargs)
  1188.         return val
  1189.  
  1190.     
  1191.     def HasPOV(self, *_args, **_kwargs):
  1192.         val = apply(misc2c.wxJoystick_HasPOV, (self,) + _args, _kwargs)
  1193.         return val
  1194.  
  1195.     
  1196.     def HasPOV4Dir(self, *_args, **_kwargs):
  1197.         val = apply(misc2c.wxJoystick_HasPOV4Dir, (self,) + _args, _kwargs)
  1198.         return val
  1199.  
  1200.     
  1201.     def HasPOVCTS(self, *_args, **_kwargs):
  1202.         val = apply(misc2c.wxJoystick_HasPOVCTS, (self,) + _args, _kwargs)
  1203.         return val
  1204.  
  1205.     
  1206.     def SetCapture(self, *_args, **_kwargs):
  1207.         val = apply(misc2c.wxJoystick_SetCapture, (self,) + _args, _kwargs)
  1208.         return val
  1209.  
  1210.     
  1211.     def ReleaseCapture(self, *_args, **_kwargs):
  1212.         val = apply(misc2c.wxJoystick_ReleaseCapture, (self,) + _args, _kwargs)
  1213.         return val
  1214.  
  1215.     
  1216.     def __repr__(self):
  1217.         return '<C wxJoystick instance at %s>' % (self.this,)
  1218.  
  1219.  
  1220.  
  1221. class wxJoystick(wxJoystickPtr):
  1222.     
  1223.     def __init__(self, *_args, **_kwargs):
  1224.         self.this = apply(misc2c.new_wxJoystick, _args, _kwargs)
  1225.         self.thisown = 1
  1226.  
  1227.  
  1228.  
  1229. class wxWavePtr(wxObjectPtr):
  1230.     
  1231.     def __init__(self, this):
  1232.         self.this = this
  1233.         self.thisown = 0
  1234.  
  1235.     
  1236.     def __del__(self, delfunc = misc2c.delete_wxWave):
  1237.         if self.thisown == 1:
  1238.             
  1239.             try:
  1240.                 delfunc(self)
  1241.             except:
  1242.                 pass
  1243.  
  1244.         
  1245.  
  1246.     
  1247.     def IsOk(self, *_args, **_kwargs):
  1248.         val = apply(misc2c.wxWave_IsOk, (self,) + _args, _kwargs)
  1249.         return val
  1250.  
  1251.     
  1252.     def Play(self, *_args, **_kwargs):
  1253.         val = apply(misc2c.wxWave_Play, (self,) + _args, _kwargs)
  1254.         return val
  1255.  
  1256.     
  1257.     def __repr__(self):
  1258.         return '<C wxWave instance at %s>' % (self.this,)
  1259.  
  1260.  
  1261.  
  1262. class wxWave(wxWavePtr):
  1263.     
  1264.     def __init__(self, *_args, **_kwargs):
  1265.         self.this = apply(misc2c.new_wxWave, _args, _kwargs)
  1266.         self.thisown = 1
  1267.  
  1268.  
  1269.  
  1270. class wxFileTypeInfoPtr:
  1271.     
  1272.     def __init__(self, this):
  1273.         self.this = this
  1274.         self.thisown = 0
  1275.  
  1276.     
  1277.     def IsValid(self, *_args, **_kwargs):
  1278.         val = apply(misc2c.wxFileTypeInfo_IsValid, (self,) + _args, _kwargs)
  1279.         return val
  1280.  
  1281.     
  1282.     def SetIcon(self, *_args, **_kwargs):
  1283.         val = apply(misc2c.wxFileTypeInfo_SetIcon, (self,) + _args, _kwargs)
  1284.         return val
  1285.  
  1286.     
  1287.     def SetShortDesc(self, *_args, **_kwargs):
  1288.         val = apply(misc2c.wxFileTypeInfo_SetShortDesc, (self,) + _args, _kwargs)
  1289.         return val
  1290.  
  1291.     
  1292.     def GetMimeType(self, *_args, **_kwargs):
  1293.         val = apply(misc2c.wxFileTypeInfo_GetMimeType, (self,) + _args, _kwargs)
  1294.         return val
  1295.  
  1296.     
  1297.     def GetOpenCommand(self, *_args, **_kwargs):
  1298.         val = apply(misc2c.wxFileTypeInfo_GetOpenCommand, (self,) + _args, _kwargs)
  1299.         return val
  1300.  
  1301.     
  1302.     def GetPrintCommand(self, *_args, **_kwargs):
  1303.         val = apply(misc2c.wxFileTypeInfo_GetPrintCommand, (self,) + _args, _kwargs)
  1304.         return val
  1305.  
  1306.     
  1307.     def GetShortDesc(self, *_args, **_kwargs):
  1308.         val = apply(misc2c.wxFileTypeInfo_GetShortDesc, (self,) + _args, _kwargs)
  1309.         return val
  1310.  
  1311.     
  1312.     def GetDescription(self, *_args, **_kwargs):
  1313.         val = apply(misc2c.wxFileTypeInfo_GetDescription, (self,) + _args, _kwargs)
  1314.         return val
  1315.  
  1316.     
  1317.     def GetExtensions(self, *_args, **_kwargs):
  1318.         val = apply(misc2c.wxFileTypeInfo_GetExtensions, (self,) + _args, _kwargs)
  1319.         return val
  1320.  
  1321.     
  1322.     def GetExtensionsCount(self, *_args, **_kwargs):
  1323.         val = apply(misc2c.wxFileTypeInfo_GetExtensionsCount, (self,) + _args, _kwargs)
  1324.         return val
  1325.  
  1326.     
  1327.     def GetIconFile(self, *_args, **_kwargs):
  1328.         val = apply(misc2c.wxFileTypeInfo_GetIconFile, (self,) + _args, _kwargs)
  1329.         return val
  1330.  
  1331.     
  1332.     def GetIconIndex(self, *_args, **_kwargs):
  1333.         val = apply(misc2c.wxFileTypeInfo_GetIconIndex, (self,) + _args, _kwargs)
  1334.         return val
  1335.  
  1336.     
  1337.     def __repr__(self):
  1338.         return '<C wxFileTypeInfo instance at %s>' % (self.this,)
  1339.  
  1340.  
  1341.  
  1342. class wxFileTypeInfo(wxFileTypeInfoPtr):
  1343.     
  1344.     def __init__(self, *_args, **_kwargs):
  1345.         self.this = apply(misc2c.new_wxFileTypeInfo, _args, _kwargs)
  1346.         self.thisown = 1
  1347.  
  1348.  
  1349.  
  1350. def wxFileTypeInfoSequence(*_args, **_kwargs):
  1351.     val = wxFileTypeInfoPtr(apply(misc2c.new_wxFileTypeInfoSequence, _args, _kwargs))
  1352.     val.thisown = 1
  1353.     return val
  1354.  
  1355.  
  1356. def wxNullFileTypeInfo(*_args, **_kwargs):
  1357.     val = wxFileTypeInfoPtr(apply(misc2c.new_wxNullFileTypeInfo, _args, _kwargs))
  1358.     val.thisown = 1
  1359.     return val
  1360.  
  1361.  
  1362. class wxFileTypePtr:
  1363.     
  1364.     def __init__(self, this):
  1365.         self.this = this
  1366.         self.thisown = 0
  1367.  
  1368.     
  1369.     def GetMimeType(self, *_args, **_kwargs):
  1370.         val = apply(misc2c.wxFileType_GetMimeType, (self,) + _args, _kwargs)
  1371.         return val
  1372.  
  1373.     
  1374.     def GetMimeTypes(self, *_args, **_kwargs):
  1375.         val = apply(misc2c.wxFileType_GetMimeTypes, (self,) + _args, _kwargs)
  1376.         return val
  1377.  
  1378.     
  1379.     def GetExtensions(self, *_args, **_kwargs):
  1380.         val = apply(misc2c.wxFileType_GetExtensions, (self,) + _args, _kwargs)
  1381.         return val
  1382.  
  1383.     
  1384.     def GetIcon(self, *_args, **_kwargs):
  1385.         val = apply(misc2c.wxFileType_GetIcon, (self,) + _args, _kwargs)
  1386.         if val:
  1387.             val = wxIconPtr(val)
  1388.             val.thisown = 1
  1389.         
  1390.         return val
  1391.  
  1392.     
  1393.     def GetIconInfo(self, *_args, **_kwargs):
  1394.         val = apply(misc2c.wxFileType_GetIconInfo, (self,) + _args, _kwargs)
  1395.         return val
  1396.  
  1397.     
  1398.     def GetDescription(self, *_args, **_kwargs):
  1399.         val = apply(misc2c.wxFileType_GetDescription, (self,) + _args, _kwargs)
  1400.         return val
  1401.  
  1402.     
  1403.     def GetOpenCommand(self, *_args, **_kwargs):
  1404.         val = apply(misc2c.wxFileType_GetOpenCommand, (self,) + _args, _kwargs)
  1405.         return val
  1406.  
  1407.     
  1408.     def GetPrintCommand(self, *_args, **_kwargs):
  1409.         val = apply(misc2c.wxFileType_GetPrintCommand, (self,) + _args, _kwargs)
  1410.         return val
  1411.  
  1412.     
  1413.     def GetAllCommands(self, *_args, **_kwargs):
  1414.         val = apply(misc2c.wxFileType_GetAllCommands, (self,) + _args, _kwargs)
  1415.         return val
  1416.  
  1417.     
  1418.     def SetCommand(self, *_args, **_kwargs):
  1419.         val = apply(misc2c.wxFileType_SetCommand, (self,) + _args, _kwargs)
  1420.         return val
  1421.  
  1422.     
  1423.     def SetDefaultIcon(self, *_args, **_kwargs):
  1424.         val = apply(misc2c.wxFileType_SetDefaultIcon, (self,) + _args, _kwargs)
  1425.         return val
  1426.  
  1427.     
  1428.     def Unassociate(self, *_args, **_kwargs):
  1429.         val = apply(misc2c.wxFileType_Unassociate, (self,) + _args, _kwargs)
  1430.         return val
  1431.  
  1432.     
  1433.     def __del__(self, delfunc = misc2c.delete_wxFileType):
  1434.         if self.thisown == 1:
  1435.             
  1436.             try:
  1437.                 delfunc(self)
  1438.             except:
  1439.                 pass
  1440.  
  1441.         
  1442.  
  1443.     
  1444.     def __repr__(self):
  1445.         return '<C wxFileType instance at %s>' % (self.this,)
  1446.  
  1447.  
  1448.  
  1449. class wxFileType(wxFileTypePtr):
  1450.     
  1451.     def __init__(self, *_args, **_kwargs):
  1452.         self.this = apply(misc2c.new_wxFileType, _args, _kwargs)
  1453.         self.thisown = 1
  1454.  
  1455.  
  1456.  
  1457. class wxMimeTypesManagerPtr:
  1458.     
  1459.     def __init__(self, this):
  1460.         self.this = this
  1461.         self.thisown = 0
  1462.  
  1463.     
  1464.     def Initialize(self, *_args, **_kwargs):
  1465.         val = apply(misc2c.wxMimeTypesManager_Initialize, (self,) + _args, _kwargs)
  1466.         return val
  1467.  
  1468.     
  1469.     def ClearData(self, *_args, **_kwargs):
  1470.         val = apply(misc2c.wxMimeTypesManager_ClearData, (self,) + _args, _kwargs)
  1471.         return val
  1472.  
  1473.     
  1474.     def GetFileTypeFromExtension(self, *_args, **_kwargs):
  1475.         val = apply(misc2c.wxMimeTypesManager_GetFileTypeFromExtension, (self,) + _args, _kwargs)
  1476.         if val:
  1477.             val = wxFileTypePtr(val)
  1478.             val.thisown = 1
  1479.         
  1480.         return val
  1481.  
  1482.     
  1483.     def GetFileTypeFromMimeType(self, *_args, **_kwargs):
  1484.         val = apply(misc2c.wxMimeTypesManager_GetFileTypeFromMimeType, (self,) + _args, _kwargs)
  1485.         if val:
  1486.             val = wxFileTypePtr(val)
  1487.             val.thisown = 1
  1488.         
  1489.         return val
  1490.  
  1491.     
  1492.     def ReadMailcap(self, *_args, **_kwargs):
  1493.         val = apply(misc2c.wxMimeTypesManager_ReadMailcap, (self,) + _args, _kwargs)
  1494.         return val
  1495.  
  1496.     
  1497.     def ReadMimeTypes(self, *_args, **_kwargs):
  1498.         val = apply(misc2c.wxMimeTypesManager_ReadMimeTypes, (self,) + _args, _kwargs)
  1499.         return val
  1500.  
  1501.     
  1502.     def EnumAllFileTypes(self, *_args, **_kwargs):
  1503.         val = apply(misc2c.wxMimeTypesManager_EnumAllFileTypes, (self,) + _args, _kwargs)
  1504.         return val
  1505.  
  1506.     
  1507.     def AddFallback(self, *_args, **_kwargs):
  1508.         val = apply(misc2c.wxMimeTypesManager_AddFallback, (self,) + _args, _kwargs)
  1509.         return val
  1510.  
  1511.     
  1512.     def Associate(self, *_args, **_kwargs):
  1513.         val = apply(misc2c.wxMimeTypesManager_Associate, (self,) + _args, _kwargs)
  1514.         if val:
  1515.             val = wxFileTypePtr(val)
  1516.             val.thisown = 1
  1517.         
  1518.         return val
  1519.  
  1520.     
  1521.     def Unassociate(self, *_args, **_kwargs):
  1522.         val = apply(misc2c.wxMimeTypesManager_Unassociate, (self,) + _args, _kwargs)
  1523.         return val
  1524.  
  1525.     
  1526.     def __del__(self, delfunc = misc2c.delete_wxMimeTypesManager):
  1527.         if self.thisown == 1:
  1528.             
  1529.             try:
  1530.                 delfunc(self)
  1531.             except:
  1532.                 pass
  1533.  
  1534.         
  1535.  
  1536.     
  1537.     def __repr__(self):
  1538.         return '<C wxMimeTypesManager instance at %s>' % (self.this,)
  1539.  
  1540.  
  1541.  
  1542. class wxMimeTypesManager(wxMimeTypesManagerPtr):
  1543.     
  1544.     def __init__(self, *_args, **_kwargs):
  1545.         self.this = apply(misc2c.new_wxMimeTypesManager, _args, _kwargs)
  1546.         self.thisown = 1
  1547.  
  1548.  
  1549.  
  1550. class wxArtProviderPtr(wxObjectPtr):
  1551.     
  1552.     def __init__(self, this):
  1553.         self.this = this
  1554.         self.thisown = 0
  1555.  
  1556.     
  1557.     def _setCallbackInfo(self, *_args, **_kwargs):
  1558.         val = apply(misc2c.wxArtProvider__setCallbackInfo, (self,) + _args, _kwargs)
  1559.         return val
  1560.  
  1561.     
  1562.     def __repr__(self):
  1563.         return '<C wxArtProvider instance at %s>' % (self.this,)
  1564.  
  1565.  
  1566.  
  1567. class wxArtProvider(wxArtProviderPtr):
  1568.     
  1569.     def __init__(self, *_args, **_kwargs):
  1570.         self.this = apply(misc2c.new_wxArtProvider, _args, _kwargs)
  1571.         self.thisown = 1
  1572.         self._setCallbackInfo(self, wxArtProvider)
  1573.  
  1574.  
  1575.  
  1576. class wxFileHistoryPtr(wxObjectPtr):
  1577.     
  1578.     def __init__(self, this):
  1579.         self.this = this
  1580.         self.thisown = 0
  1581.  
  1582.     
  1583.     def __del__(self, delfunc = misc2c.delete_wxFileHistory):
  1584.         if self.thisown == 1:
  1585.             
  1586.             try:
  1587.                 delfunc(self)
  1588.             except:
  1589.                 pass
  1590.  
  1591.         
  1592.  
  1593.     
  1594.     def AddFileToHistory(self, *_args, **_kwargs):
  1595.         val = apply(misc2c.wxFileHistory_AddFileToHistory, (self,) + _args, _kwargs)
  1596.         return val
  1597.  
  1598.     
  1599.     def RemoveFileFromHistory(self, *_args, **_kwargs):
  1600.         val = apply(misc2c.wxFileHistory_RemoveFileFromHistory, (self,) + _args, _kwargs)
  1601.         return val
  1602.  
  1603.     
  1604.     def GetMaxFiles(self, *_args, **_kwargs):
  1605.         val = apply(misc2c.wxFileHistory_GetMaxFiles, (self,) + _args, _kwargs)
  1606.         return val
  1607.  
  1608.     
  1609.     def UseMenu(self, *_args, **_kwargs):
  1610.         val = apply(misc2c.wxFileHistory_UseMenu, (self,) + _args, _kwargs)
  1611.         return val
  1612.  
  1613.     
  1614.     def RemoveMenu(self, *_args, **_kwargs):
  1615.         val = apply(misc2c.wxFileHistory_RemoveMenu, (self,) + _args, _kwargs)
  1616.         return val
  1617.  
  1618.     
  1619.     def Load(self, *_args, **_kwargs):
  1620.         val = apply(misc2c.wxFileHistory_Load, (self,) + _args, _kwargs)
  1621.         return val
  1622.  
  1623.     
  1624.     def Save(self, *_args, **_kwargs):
  1625.         val = apply(misc2c.wxFileHistory_Save, (self,) + _args, _kwargs)
  1626.         return val
  1627.  
  1628.     
  1629.     def AddFilesToMenu(self, *_args, **_kwargs):
  1630.         val = apply(misc2c.wxFileHistory_AddFilesToMenu, (self,) + _args, _kwargs)
  1631.         return val
  1632.  
  1633.     
  1634.     def AddFilesToThisMenu(self, *_args, **_kwargs):
  1635.         val = apply(misc2c.wxFileHistory_AddFilesToThisMenu, (self,) + _args, _kwargs)
  1636.         return val
  1637.  
  1638.     
  1639.     def GetHistoryFile(self, *_args, **_kwargs):
  1640.         val = apply(misc2c.wxFileHistory_GetHistoryFile, (self,) + _args, _kwargs)
  1641.         return val
  1642.  
  1643.     
  1644.     def GetCount(self, *_args, **_kwargs):
  1645.         val = apply(misc2c.wxFileHistory_GetCount, (self,) + _args, _kwargs)
  1646.         return val
  1647.  
  1648.     
  1649.     def GetNoHistoryFiles(self, *_args, **_kwargs):
  1650.         val = apply(misc2c.wxFileHistory_GetNoHistoryFiles, (self,) + _args, _kwargs)
  1651.         return val
  1652.  
  1653.     
  1654.     def __repr__(self):
  1655.         return '<C wxFileHistory instance at %s>' % (self.this,)
  1656.  
  1657.  
  1658.  
  1659. class wxFileHistory(wxFileHistoryPtr):
  1660.     
  1661.     def __init__(self, *_args, **_kwargs):
  1662.         self.this = apply(misc2c.new_wxFileHistory, _args, _kwargs)
  1663.         self.thisown = 1
  1664.  
  1665.  
  1666.  
  1667. class wxEffectsPtr(wxObjectPtr):
  1668.     
  1669.     def __init__(self, this):
  1670.         self.this = this
  1671.         self.thisown = 0
  1672.  
  1673.     
  1674.     def GetHighlightColour(self, *_args, **_kwargs):
  1675.         val = apply(misc2c.wxEffects_GetHighlightColour, (self,) + _args, _kwargs)
  1676.         if val:
  1677.             val = wxColourPtr(val)
  1678.             val.thisown = 1
  1679.         
  1680.         return val
  1681.  
  1682.     
  1683.     def GetLightShadow(self, *_args, **_kwargs):
  1684.         val = apply(misc2c.wxEffects_GetLightShadow, (self,) + _args, _kwargs)
  1685.         if val:
  1686.             val = wxColourPtr(val)
  1687.             val.thisown = 1
  1688.         
  1689.         return val
  1690.  
  1691.     
  1692.     def GetFaceColour(self, *_args, **_kwargs):
  1693.         val = apply(misc2c.wxEffects_GetFaceColour, (self,) + _args, _kwargs)
  1694.         if val:
  1695.             val = wxColourPtr(val)
  1696.             val.thisown = 1
  1697.         
  1698.         return val
  1699.  
  1700.     
  1701.     def GetMediumShadow(self, *_args, **_kwargs):
  1702.         val = apply(misc2c.wxEffects_GetMediumShadow, (self,) + _args, _kwargs)
  1703.         if val:
  1704.             val = wxColourPtr(val)
  1705.             val.thisown = 1
  1706.         
  1707.         return val
  1708.  
  1709.     
  1710.     def GetDarkShadow(self, *_args, **_kwargs):
  1711.         val = apply(misc2c.wxEffects_GetDarkShadow, (self,) + _args, _kwargs)
  1712.         if val:
  1713.             val = wxColourPtr(val)
  1714.             val.thisown = 1
  1715.         
  1716.         return val
  1717.  
  1718.     
  1719.     def SetHighlightColour(self, *_args, **_kwargs):
  1720.         val = apply(misc2c.wxEffects_SetHighlightColour, (self,) + _args, _kwargs)
  1721.         return val
  1722.  
  1723.     
  1724.     def SetLightShadow(self, *_args, **_kwargs):
  1725.         val = apply(misc2c.wxEffects_SetLightShadow, (self,) + _args, _kwargs)
  1726.         return val
  1727.  
  1728.     
  1729.     def SetFaceColour(self, *_args, **_kwargs):
  1730.         val = apply(misc2c.wxEffects_SetFaceColour, (self,) + _args, _kwargs)
  1731.         return val
  1732.  
  1733.     
  1734.     def SetMediumShadow(self, *_args, **_kwargs):
  1735.         val = apply(misc2c.wxEffects_SetMediumShadow, (self,) + _args, _kwargs)
  1736.         return val
  1737.  
  1738.     
  1739.     def SetDarkShadow(self, *_args, **_kwargs):
  1740.         val = apply(misc2c.wxEffects_SetDarkShadow, (self,) + _args, _kwargs)
  1741.         return val
  1742.  
  1743.     
  1744.     def Set(self, *_args, **_kwargs):
  1745.         val = apply(misc2c.wxEffects_Set, (self,) + _args, _kwargs)
  1746.         return val
  1747.  
  1748.     
  1749.     def DrawSunkenEdge(self, *_args, **_kwargs):
  1750.         val = apply(misc2c.wxEffects_DrawSunkenEdge, (self,) + _args, _kwargs)
  1751.         return val
  1752.  
  1753.     
  1754.     def TileBitmap(self, *_args, **_kwargs):
  1755.         val = apply(misc2c.wxEffects_TileBitmap, (self,) + _args, _kwargs)
  1756.         return val
  1757.  
  1758.     
  1759.     def __repr__(self):
  1760.         return '<C wxEffects instance at %s>' % (self.this,)
  1761.  
  1762.  
  1763.  
  1764. class wxEffects(wxEffectsPtr):
  1765.     
  1766.     def __init__(self, *_args, **_kwargs):
  1767.         self.this = apply(misc2c.new_wxEffects, _args, _kwargs)
  1768.         self.thisown = 1
  1769.  
  1770.  
  1771.  
  1772. class wxSingleInstanceCheckerPtr:
  1773.     
  1774.     def __init__(self, this):
  1775.         self.this = this
  1776.         self.thisown = 0
  1777.  
  1778.     
  1779.     def __del__(self, delfunc = misc2c.delete_wxSingleInstanceChecker):
  1780.         if self.thisown == 1:
  1781.             
  1782.             try:
  1783.                 delfunc(self)
  1784.             except:
  1785.                 pass
  1786.  
  1787.         
  1788.  
  1789.     
  1790.     def Create(self, *_args, **_kwargs):
  1791.         val = apply(misc2c.wxSingleInstanceChecker_Create, (self,) + _args, _kwargs)
  1792.         return val
  1793.  
  1794.     
  1795.     def IsAnotherRunning(self, *_args, **_kwargs):
  1796.         val = apply(misc2c.wxSingleInstanceChecker_IsAnotherRunning, (self,) + _args, _kwargs)
  1797.         return val
  1798.  
  1799.     
  1800.     def __repr__(self):
  1801.         return '<C wxSingleInstanceChecker instance at %s>' % (self.this,)
  1802.  
  1803.  
  1804.  
  1805. class wxSingleInstanceChecker(wxSingleInstanceCheckerPtr):
  1806.     
  1807.     def __init__(self, *_args, **_kwargs):
  1808.         self.this = apply(misc2c.new_wxSingleInstanceChecker, _args, _kwargs)
  1809.         self.thisown = 1
  1810.  
  1811.  
  1812.  
  1813. def wxPreSingleInstanceChecker(*_args, **_kwargs):
  1814.     val = wxSingleInstanceCheckerPtr(apply(misc2c.new_wxPreSingleInstanceChecker, _args, _kwargs))
  1815.     val.thisown = 1
  1816.     return val
  1817.  
  1818. wxFileSelector = misc2c.wxFileSelector
  1819. wxLoadFileSelector = misc2c.wxLoadFileSelector
  1820. wxSaveFileSelector = misc2c.wxSaveFileSelector
  1821. wxDirSelector = misc2c.wxDirSelector
  1822. wxGetTextFromUser = misc2c.wxGetTextFromUser
  1823. wxGetPasswordFromUser = misc2c.wxGetPasswordFromUser
  1824. wxGetSingleChoice = misc2c.wxGetSingleChoice
  1825. wxGetSingleChoiceIndex = misc2c.wxGetSingleChoiceIndex
  1826. wxMessageBox = misc2c.wxMessageBox
  1827. wxGetNumberFromUser = misc2c.wxGetNumberFromUser
  1828. wxColourDisplay = misc2c.wxColourDisplay
  1829. wxDisplayDepth = misc2c.wxDisplayDepth
  1830. wxGetDisplayDepth = misc2c.wxGetDisplayDepth
  1831. wxDisplaySize = misc2c.wxDisplaySize
  1832.  
  1833. def wxGetDisplaySize(*_args, **_kwargs):
  1834.     val = apply(misc2c.wxGetDisplaySize, _args, _kwargs)
  1835.     if val:
  1836.         val = wxSizePtr(val)
  1837.         val.thisown = 1
  1838.     
  1839.     return val
  1840.  
  1841. wxDisplaySizeMM = misc2c.wxDisplaySizeMM
  1842.  
  1843. def wxGetDisplaySizeMM(*_args, **_kwargs):
  1844.     val = apply(misc2c.wxGetDisplaySizeMM, _args, _kwargs)
  1845.     if val:
  1846.         val = wxSizePtr(val)
  1847.         val.thisown = 1
  1848.     
  1849.     return val
  1850.  
  1851. wxClientDisplayRect = misc2c.wxClientDisplayRect
  1852.  
  1853. def wxGetClientDisplayRect(*_args, **_kwargs):
  1854.     val = apply(misc2c.wxGetClientDisplayRect, _args, _kwargs)
  1855.     if val:
  1856.         val = wxRectPtr(val)
  1857.         val.thisown = 1
  1858.     
  1859.     return val
  1860.  
  1861. wxSetCursor = misc2c.wxSetCursor
  1862. wxBeginBusyCursor = misc2c.wxBeginBusyCursor
  1863.  
  1864. def wxGetActiveWindow(*_args, **_kwargs):
  1865.     val = apply(misc2c.wxGetActiveWindow, _args, _kwargs)
  1866.     return val
  1867.  
  1868.  
  1869. def wxGenericFindWindowAtPoint(*_args, **_kwargs):
  1870.     val = apply(misc2c.wxGenericFindWindowAtPoint, _args, _kwargs)
  1871.     return val
  1872.  
  1873.  
  1874. def wxFindWindowAtPoint(*_args, **_kwargs):
  1875.     val = apply(misc2c.wxFindWindowAtPoint, _args, _kwargs)
  1876.     return val
  1877.  
  1878. wxCheckForInterrupt = misc2c.wxCheckForInterrupt
  1879. wxFlushEvents = misc2c.wxFlushEvents
  1880.  
  1881. def wxGetTopLevelParent(*_args, **_kwargs):
  1882.     val = apply(misc2c.wxGetTopLevelParent, _args, _kwargs)
  1883.     return val
  1884.  
  1885. wxCaret_GetBlinkTime = misc2c.wxCaret_GetBlinkTime
  1886. wxCaret_SetBlinkTime = misc2c.wxCaret_SetBlinkTime
  1887. wxSafeYield = misc2c.wxSafeYield
  1888. wxPostEvent = misc2c.wxPostEvent
  1889. wxWakeUpIdle = misc2c.wxWakeUpIdle
  1890. wxWakeUpMainThread = misc2c.wxWakeUpMainThread
  1891. wxMutexGuiEnter = misc2c.wxMutexGuiEnter
  1892. wxMutexGuiLeave = misc2c.wxMutexGuiLeave
  1893. wxThread_IsMain = misc2c.wxThread_IsMain
  1894. wxShowTip = misc2c.wxShowTip
  1895.  
  1896. def wxCreateFileTipProvider(*_args, **_kwargs):
  1897.     val = apply(misc2c.wxCreateFileTipProvider, _args, _kwargs)
  1898.     if val:
  1899.         val = wxTipProviderPtr(val)
  1900.         val.thisown = 1
  1901.     
  1902.     return val
  1903.  
  1904. wxSysErrorCode = misc2c.wxSysErrorCode
  1905. wxSysErrorMsg = misc2c.wxSysErrorMsg
  1906. wxLogFatalError = misc2c.wxLogFatalError
  1907. wxLogError = misc2c.wxLogError
  1908. wxLogWarning = misc2c.wxLogWarning
  1909. wxLogMessage = misc2c.wxLogMessage
  1910. wxLogInfo = misc2c.wxLogInfo
  1911. wxLogDebug = misc2c.wxLogDebug
  1912. wxLogVerbose = misc2c.wxLogVerbose
  1913. wxLogStatus = misc2c.wxLogStatus
  1914. wxLogStatusFrame = misc2c.wxLogStatusFrame
  1915. wxLogSysError = misc2c.wxLogSysError
  1916. wxLogTrace = misc2c.wxLogTrace
  1917. wxLogTraceMask = misc2c.wxLogTraceMask
  1918. wxLogGeneric = misc2c.wxLogGeneric
  1919. wxSafeShowMessage = misc2c.wxSafeShowMessage
  1920. wxExecute = misc2c.wxExecute
  1921.  
  1922. def wxWaveData(*_args, **_kwargs):
  1923.     val = apply(misc2c.wxWaveData, _args, _kwargs)
  1924.     if val:
  1925.         val = wxWavePtr(val)
  1926.         val.thisown = 1
  1927.     
  1928.     return val
  1929.  
  1930.  
  1931. def wxSystemSettings_GetColour(*_args, **_kwargs):
  1932.     val = apply(misc2c.wxSystemSettings_GetColour, _args, _kwargs)
  1933.     if val:
  1934.         val = wxColourPtr(val)
  1935.         val.thisown = 1
  1936.     
  1937.     return val
  1938.  
  1939.  
  1940. def wxSystemSettings_GetFont(*_args, **_kwargs):
  1941.     val = apply(misc2c.wxSystemSettings_GetFont, _args, _kwargs)
  1942.     if val:
  1943.         val = wxFontPtr(val)
  1944.         val.thisown = 1
  1945.     
  1946.     return val
  1947.  
  1948. wxSystemSettings_GetMetric = misc2c.wxSystemSettings_GetMetric
  1949. wxSystemSettings_HasFeature = misc2c.wxSystemSettings_HasFeature
  1950. wxSystemSettings_GetScreenType = misc2c.wxSystemSettings_GetScreenType
  1951. wxSystemSettings_SetScreenType = misc2c.wxSystemSettings_SetScreenType
  1952. wxToolTip_Enable = misc2c.wxToolTip_Enable
  1953. wxToolTip_SetDelay = misc2c.wxToolTip_SetDelay
  1954. wxLog_IsEnabled = misc2c.wxLog_IsEnabled
  1955. wxLog_EnableLogging = misc2c.wxLog_EnableLogging
  1956. wxLog_OnLog = misc2c.wxLog_OnLog
  1957. wxLog_FlushActive = misc2c.wxLog_FlushActive
  1958.  
  1959. def wxLog_GetActiveTarget(*_args, **_kwargs):
  1960.     val = apply(misc2c.wxLog_GetActiveTarget, _args, _kwargs)
  1961.     if val:
  1962.         val = wxLogPtr(val)
  1963.     
  1964.     return val
  1965.  
  1966.  
  1967. def wxLog_SetActiveTarget(*_args, **_kwargs):
  1968.     val = apply(misc2c.wxLog_SetActiveTarget, _args, _kwargs)
  1969.     if val:
  1970.         val = wxLogPtr(val)
  1971.     
  1972.     return val
  1973.  
  1974. wxLog_Suspend = misc2c.wxLog_Suspend
  1975. wxLog_Resume = misc2c.wxLog_Resume
  1976. wxLog_SetVerbose = misc2c.wxLog_SetVerbose
  1977. wxLog_DontCreateOnDemand = misc2c.wxLog_DontCreateOnDemand
  1978. wxLog_SetTraceMask = misc2c.wxLog_SetTraceMask
  1979. wxLog_AddTraceMask = misc2c.wxLog_AddTraceMask
  1980. wxLog_RemoveTraceMask = misc2c.wxLog_RemoveTraceMask
  1981. wxLog_ClearTraceMasks = misc2c.wxLog_ClearTraceMasks
  1982. wxLog_GetTraceMasks = misc2c.wxLog_GetTraceMasks
  1983. wxLog_SetTimestamp = misc2c.wxLog_SetTimestamp
  1984. wxLog_GetTimestamp = misc2c.wxLog_GetTimestamp
  1985. wxLog_GetTraceMask = misc2c.wxLog_GetTraceMask
  1986. wxLog_IsAllowedTraceMask = misc2c.wxLog_IsAllowedTraceMask
  1987. wxLog_SetLogLevel = misc2c.wxLog_SetLogLevel
  1988. wxLog_GetLogLevel = misc2c.wxLog_GetLogLevel
  1989. wxProcess_Kill = misc2c.wxProcess_Kill
  1990. wxProcess_Exists = misc2c.wxProcess_Exists
  1991.  
  1992. def wxProcess_Open(*_args, **_kwargs):
  1993.     val = apply(misc2c.wxProcess_Open, _args, _kwargs)
  1994.     if val:
  1995.         val = wxProcessPtr(val)
  1996.     
  1997.     return val
  1998.  
  1999. wxFileType_ExpandCommand = misc2c.wxFileType_ExpandCommand
  2000. wxMimeTypesManager_IsOfType = misc2c.wxMimeTypesManager_IsOfType
  2001. wxArtProvider_PushProvider = misc2c.wxArtProvider_PushProvider
  2002. wxArtProvider_PopProvider = misc2c.wxArtProvider_PopProvider
  2003. wxArtProvider_RemoveProvider = misc2c.wxArtProvider_RemoveProvider
  2004.  
  2005. def wxArtProvider_GetBitmap(*_args, **_kwargs):
  2006.     val = apply(misc2c.wxArtProvider_GetBitmap, _args, _kwargs)
  2007.     if val:
  2008.         val = wxBitmapPtr(val)
  2009.         val.thisown = 1
  2010.     
  2011.     return val
  2012.  
  2013.  
  2014. def wxArtProvider_GetIcon(*_args, **_kwargs):
  2015.     val = apply(misc2c.wxArtProvider_GetIcon, _args, _kwargs)
  2016.     if val:
  2017.         val = wxIconPtr(val)
  2018.         val.thisown = 1
  2019.     
  2020.     return val
  2021.  
  2022. wxSYS_OEM_FIXED_FONT = misc2c.wxSYS_OEM_FIXED_FONT
  2023. wxSYS_ANSI_FIXED_FONT = misc2c.wxSYS_ANSI_FIXED_FONT
  2024. wxSYS_ANSI_VAR_FONT = misc2c.wxSYS_ANSI_VAR_FONT
  2025. wxSYS_SYSTEM_FONT = misc2c.wxSYS_SYSTEM_FONT
  2026. wxSYS_DEVICE_DEFAULT_FONT = misc2c.wxSYS_DEVICE_DEFAULT_FONT
  2027. wxSYS_DEFAULT_PALETTE = misc2c.wxSYS_DEFAULT_PALETTE
  2028. wxSYS_SYSTEM_FIXED_FONT = misc2c.wxSYS_SYSTEM_FIXED_FONT
  2029. wxSYS_DEFAULT_GUI_FONT = misc2c.wxSYS_DEFAULT_GUI_FONT
  2030. wxSYS_COLOUR_SCROLLBAR = misc2c.wxSYS_COLOUR_SCROLLBAR
  2031. wxSYS_COLOUR_BACKGROUND = misc2c.wxSYS_COLOUR_BACKGROUND
  2032. wxSYS_COLOUR_DESKTOP = misc2c.wxSYS_COLOUR_DESKTOP
  2033. wxSYS_COLOUR_ACTIVECAPTION = misc2c.wxSYS_COLOUR_ACTIVECAPTION
  2034. wxSYS_COLOUR_INACTIVECAPTION = misc2c.wxSYS_COLOUR_INACTIVECAPTION
  2035. wxSYS_COLOUR_MENU = misc2c.wxSYS_COLOUR_MENU
  2036. wxSYS_COLOUR_WINDOW = misc2c.wxSYS_COLOUR_WINDOW
  2037. wxSYS_COLOUR_WINDOWFRAME = misc2c.wxSYS_COLOUR_WINDOWFRAME
  2038. wxSYS_COLOUR_MENUTEXT = misc2c.wxSYS_COLOUR_MENUTEXT
  2039. wxSYS_COLOUR_WINDOWTEXT = misc2c.wxSYS_COLOUR_WINDOWTEXT
  2040. wxSYS_COLOUR_CAPTIONTEXT = misc2c.wxSYS_COLOUR_CAPTIONTEXT
  2041. wxSYS_COLOUR_ACTIVEBORDER = misc2c.wxSYS_COLOUR_ACTIVEBORDER
  2042. wxSYS_COLOUR_INACTIVEBORDER = misc2c.wxSYS_COLOUR_INACTIVEBORDER
  2043. wxSYS_COLOUR_APPWORKSPACE = misc2c.wxSYS_COLOUR_APPWORKSPACE
  2044. wxSYS_COLOUR_HIGHLIGHT = misc2c.wxSYS_COLOUR_HIGHLIGHT
  2045. wxSYS_COLOUR_HIGHLIGHTTEXT = misc2c.wxSYS_COLOUR_HIGHLIGHTTEXT
  2046. wxSYS_COLOUR_BTNFACE = misc2c.wxSYS_COLOUR_BTNFACE
  2047. wxSYS_COLOUR_3DFACE = misc2c.wxSYS_COLOUR_3DFACE
  2048. wxSYS_COLOUR_BTNSHADOW = misc2c.wxSYS_COLOUR_BTNSHADOW
  2049. wxSYS_COLOUR_3DSHADOW = misc2c.wxSYS_COLOUR_3DSHADOW
  2050. wxSYS_COLOUR_GRAYTEXT = misc2c.wxSYS_COLOUR_GRAYTEXT
  2051. wxSYS_COLOUR_BTNTEXT = misc2c.wxSYS_COLOUR_BTNTEXT
  2052. wxSYS_COLOUR_INACTIVECAPTIONTEXT = misc2c.wxSYS_COLOUR_INACTIVECAPTIONTEXT
  2053. wxSYS_COLOUR_BTNHIGHLIGHT = misc2c.wxSYS_COLOUR_BTNHIGHLIGHT
  2054. wxSYS_COLOUR_BTNHILIGHT = misc2c.wxSYS_COLOUR_BTNHILIGHT
  2055. wxSYS_COLOUR_3DHIGHLIGHT = misc2c.wxSYS_COLOUR_3DHIGHLIGHT
  2056. wxSYS_COLOUR_3DHILIGHT = misc2c.wxSYS_COLOUR_3DHILIGHT
  2057. wxSYS_COLOUR_3DDKSHADOW = misc2c.wxSYS_COLOUR_3DDKSHADOW
  2058. wxSYS_COLOUR_3DLIGHT = misc2c.wxSYS_COLOUR_3DLIGHT
  2059. wxSYS_COLOUR_INFOTEXT = misc2c.wxSYS_COLOUR_INFOTEXT
  2060. wxSYS_COLOUR_INFOBK = misc2c.wxSYS_COLOUR_INFOBK
  2061. wxSYS_COLOUR_LISTBOX = misc2c.wxSYS_COLOUR_LISTBOX
  2062. wxSYS_COLOUR_HOTLIGHT = misc2c.wxSYS_COLOUR_HOTLIGHT
  2063. wxSYS_COLOUR_GRADIENTACTIVECAPTION = misc2c.wxSYS_COLOUR_GRADIENTACTIVECAPTION
  2064. wxSYS_COLOUR_GRADIENTINACTIVECAPTION = misc2c.wxSYS_COLOUR_GRADIENTINACTIVECAPTION
  2065. wxSYS_COLOUR_MENUHILIGHT = misc2c.wxSYS_COLOUR_MENUHILIGHT
  2066. wxSYS_COLOUR_MENUBAR = misc2c.wxSYS_COLOUR_MENUBAR
  2067. wxSYS_COLOUR_MAX = misc2c.wxSYS_COLOUR_MAX
  2068. wxSYS_MOUSE_BUTTONS = misc2c.wxSYS_MOUSE_BUTTONS
  2069. wxSYS_BORDER_X = misc2c.wxSYS_BORDER_X
  2070. wxSYS_BORDER_Y = misc2c.wxSYS_BORDER_Y
  2071. wxSYS_CURSOR_X = misc2c.wxSYS_CURSOR_X
  2072. wxSYS_CURSOR_Y = misc2c.wxSYS_CURSOR_Y
  2073. wxSYS_DCLICK_X = misc2c.wxSYS_DCLICK_X
  2074. wxSYS_DCLICK_Y = misc2c.wxSYS_DCLICK_Y
  2075. wxSYS_DRAG_X = misc2c.wxSYS_DRAG_X
  2076. wxSYS_DRAG_Y = misc2c.wxSYS_DRAG_Y
  2077. wxSYS_EDGE_X = misc2c.wxSYS_EDGE_X
  2078. wxSYS_EDGE_Y = misc2c.wxSYS_EDGE_Y
  2079. wxSYS_HSCROLL_ARROW_X = misc2c.wxSYS_HSCROLL_ARROW_X
  2080. wxSYS_HSCROLL_ARROW_Y = misc2c.wxSYS_HSCROLL_ARROW_Y
  2081. wxSYS_HTHUMB_X = misc2c.wxSYS_HTHUMB_X
  2082. wxSYS_ICON_X = misc2c.wxSYS_ICON_X
  2083. wxSYS_ICON_Y = misc2c.wxSYS_ICON_Y
  2084. wxSYS_ICONSPACING_X = misc2c.wxSYS_ICONSPACING_X
  2085. wxSYS_ICONSPACING_Y = misc2c.wxSYS_ICONSPACING_Y
  2086. wxSYS_WINDOWMIN_X = misc2c.wxSYS_WINDOWMIN_X
  2087. wxSYS_WINDOWMIN_Y = misc2c.wxSYS_WINDOWMIN_Y
  2088. wxSYS_SCREEN_X = misc2c.wxSYS_SCREEN_X
  2089. wxSYS_SCREEN_Y = misc2c.wxSYS_SCREEN_Y
  2090. wxSYS_FRAMESIZE_X = misc2c.wxSYS_FRAMESIZE_X
  2091. wxSYS_FRAMESIZE_Y = misc2c.wxSYS_FRAMESIZE_Y
  2092. wxSYS_SMALLICON_X = misc2c.wxSYS_SMALLICON_X
  2093. wxSYS_SMALLICON_Y = misc2c.wxSYS_SMALLICON_Y
  2094. wxSYS_HSCROLL_Y = misc2c.wxSYS_HSCROLL_Y
  2095. wxSYS_VSCROLL_X = misc2c.wxSYS_VSCROLL_X
  2096. wxSYS_VSCROLL_ARROW_X = misc2c.wxSYS_VSCROLL_ARROW_X
  2097. wxSYS_VSCROLL_ARROW_Y = misc2c.wxSYS_VSCROLL_ARROW_Y
  2098. wxSYS_VTHUMB_Y = misc2c.wxSYS_VTHUMB_Y
  2099. wxSYS_CAPTION_Y = misc2c.wxSYS_CAPTION_Y
  2100. wxSYS_MENU_Y = misc2c.wxSYS_MENU_Y
  2101. wxSYS_NETWORK_PRESENT = misc2c.wxSYS_NETWORK_PRESENT
  2102. wxSYS_PENWINDOWS_PRESENT = misc2c.wxSYS_PENWINDOWS_PRESENT
  2103. wxSYS_SHOW_SOUNDS = misc2c.wxSYS_SHOW_SOUNDS
  2104. wxSYS_SWAP_BUTTONS = misc2c.wxSYS_SWAP_BUTTONS
  2105. wxSYS_CAN_DRAW_FRAME_DECORATIONS = misc2c.wxSYS_CAN_DRAW_FRAME_DECORATIONS
  2106. wxSYS_CAN_ICONIZE_FRAME = misc2c.wxSYS_CAN_ICONIZE_FRAME
  2107. wxSYS_SCREEN_NONE = misc2c.wxSYS_SCREEN_NONE
  2108. wxSYS_SCREEN_TINY = misc2c.wxSYS_SCREEN_TINY
  2109. wxSYS_SCREEN_PDA = misc2c.wxSYS_SCREEN_PDA
  2110. wxSYS_SCREEN_SMALL = misc2c.wxSYS_SCREEN_SMALL
  2111. wxSYS_SCREEN_DESKTOP = misc2c.wxSYS_SCREEN_DESKTOP
  2112. wxLOG_FatalError = misc2c.wxLOG_FatalError
  2113. wxLOG_Error = misc2c.wxLOG_Error
  2114. wxLOG_Warning = misc2c.wxLOG_Warning
  2115. wxLOG_Message = misc2c.wxLOG_Message
  2116. wxLOG_Info = misc2c.wxLOG_Info
  2117. wxLOG_Status = misc2c.wxLOG_Status
  2118. wxLOG_Debug = misc2c.wxLOG_Debug
  2119. wxLOG_Trace = misc2c.wxLOG_Trace
  2120. wxLOG_Progress = misc2c.wxLOG_Progress
  2121. wxLOG_User = misc2c.wxLOG_User
  2122. wxTRACE_MemAlloc = misc2c.wxTRACE_MemAlloc
  2123. wxTRACE_Messages = misc2c.wxTRACE_Messages
  2124. wxTRACE_ResAlloc = misc2c.wxTRACE_ResAlloc
  2125. wxTRACE_RefCount = misc2c.wxTRACE_RefCount
  2126. wxTRACE_OleCalls = misc2c.wxTRACE_OleCalls
  2127. wxTraceMemAlloc = misc2c.wxTraceMemAlloc
  2128. wxTraceMessages = misc2c.wxTraceMessages
  2129. wxTraceResAlloc = misc2c.wxTraceResAlloc
  2130. wxTraceRefCount = misc2c.wxTraceRefCount
  2131. wxTraceOleCalls = misc2c.wxTraceOleCalls
  2132. wxKILL_OK = misc2c.wxKILL_OK
  2133. wxKILL_BAD_SIGNAL = misc2c.wxKILL_BAD_SIGNAL
  2134. wxKILL_ACCESS_DENIED = misc2c.wxKILL_ACCESS_DENIED
  2135. wxKILL_NO_PROCESS = misc2c.wxKILL_NO_PROCESS
  2136. wxKILL_ERROR = misc2c.wxKILL_ERROR
  2137. wxSIGNONE = misc2c.wxSIGNONE
  2138. wxSIGHUP = misc2c.wxSIGHUP
  2139. wxSIGINT = misc2c.wxSIGINT
  2140. wxSIGQUIT = misc2c.wxSIGQUIT
  2141. wxSIGILL = misc2c.wxSIGILL
  2142. wxSIGTRAP = misc2c.wxSIGTRAP
  2143. wxSIGABRT = misc2c.wxSIGABRT
  2144. wxSIGIOT = misc2c.wxSIGIOT
  2145. wxSIGEMT = misc2c.wxSIGEMT
  2146. wxSIGFPE = misc2c.wxSIGFPE
  2147. wxSIGKILL = misc2c.wxSIGKILL
  2148. wxSIGBUS = misc2c.wxSIGBUS
  2149. wxSIGSEGV = misc2c.wxSIGSEGV
  2150. wxSIGSYS = misc2c.wxSIGSYS
  2151. wxSIGPIPE = misc2c.wxSIGPIPE
  2152. wxSIGALRM = misc2c.wxSIGALRM
  2153. wxSIGTERM = misc2c.wxSIGTERM
  2154. wxEVT_END_PROCESS = misc2c.wxEVT_END_PROCESS
  2155. wxEXEC_ASYNC = misc2c.wxEXEC_ASYNC
  2156. wxEXEC_SYNC = misc2c.wxEXEC_SYNC
  2157. wxEXEC_NOHIDE = misc2c.wxEXEC_NOHIDE
  2158. wxEXEC_MAKE_GROUP_LEADER = misc2c.wxEXEC_MAKE_GROUP_LEADER
  2159. wxJOYSTICK1 = misc2c.wxJOYSTICK1
  2160. wxJOYSTICK2 = misc2c.wxJOYSTICK2
  2161. wxJOY_BUTTON_ANY = misc2c.wxJOY_BUTTON_ANY
  2162. wxJOY_BUTTON1 = misc2c.wxJOY_BUTTON1
  2163. wxJOY_BUTTON2 = misc2c.wxJOY_BUTTON2
  2164. wxJOY_BUTTON3 = misc2c.wxJOY_BUTTON3
  2165. wxJOY_BUTTON4 = misc2c.wxJOY_BUTTON4
  2166. wxMAILCAP_STANDARD = misc2c.wxMAILCAP_STANDARD
  2167. wxMAILCAP_NETSCAPE = misc2c.wxMAILCAP_NETSCAPE
  2168. wxMAILCAP_KDE = misc2c.wxMAILCAP_KDE
  2169. wxMAILCAP_GNOME = misc2c.wxMAILCAP_GNOME
  2170. wxMAILCAP_ALL = misc2c.wxMAILCAP_ALL
  2171. cvar = misc2c.cvar
  2172. wxTheMimeTypesManager = wxMimeTypesManagerPtr(misc2c.cvar.wxTheMimeTypesManager)
  2173.